and how do you create the field? Share the the line where you are creating the above field1
<field name="field1".... On Thu, Jul 6, 2017 at 2:42 PM, Saurabh Sethi <saurabh.se...@sendgrid.com> wrote: > 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 >