Do we need to store boolean field in order to query it?

The query I am running is "field1:true"

With the following field type, where "stored=false", query returns 0 result.

<fieldType name="boolean" class="solr.BoolField" indexed="true"
stored="false" docValues="false" omitNorms="true" />


But if I change stored to "true", same query works.

Thanks,
Saurabh

Reply via email to