Question

Last time I made a solr index, it started indexing and doing faceting on empty strings too. This never happened. It is the right behaviour? Should I filter empty strings in the DIH?

Thanks.

Was it helpful?

Solution

Yes, I would recommend filtering them out (setting them to NULL) in your Data Import Handler to reduce the load time it takes to generate the potentially large facet count. This may present itself regularly when optional values are represented as empty strings in a dataset.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top