0
votes

I have a number of index fields in solr schema. Some of these are filled on regular basis on indexing content into solr. But some of these are filled conditionally such as if field name is available in source, index it and fill it in index field otherwise leave it empty.

How solr behaves in these scenarios. Do i get all fields with/without values in solr index or i will see only those index fields which are non-empty. I think later scenario should hold true.

Regards.

1

1 Answers

1
votes

If the field is not marked as required then it will simply be missing from the document, and queries on those field will miss the document in question.