Hmm, I'd be interested what you get if you restrict your queries to individual shards using &distrib=false. This will go to the individual shard you address and no others.
Does the facet count change in those circumstances? Best, Erick On Tue, May 3, 2016 at 4:48 AM, Modassar Ather <modather1...@gmail.com> wrote: > I tried to reproduce the same issue with a field of following type but > could not. > <fieldType name="string" class="solr.StrField" sortMissingLast="true" > stored="false" omitNorms="true"/> > > Please share your inputs. > > Best, > Modassar > > On Tue, May 3, 2016 at 10:32 AM, Modassar Ather <modather1...@gmail.com> > wrote: > >> Hi, >> >> Kindly share your inputs on this issue. >> >> Thanks, >> Modassar >> >> On Mon, May 2, 2016 at 3:53 PM, Modassar Ather <modather1...@gmail.com> >> wrote: >> >>> Hi, >>> >>> I have a field f which is defined as follows on solr 5.x. It is 12 shard >>> cluster with no replica. >>> >>> <fieldType name="string_dv" class="solr.StrField" sortMissingLast="true" >>> stored="false" indexed="false" docValues="true"/> >>> >>> When I facet on this field with different facet.limit I get different >>> facet count. >>> >>> E.g. >>> Query : text_field:term&facet.field=f&facet.limit=100 >>> Result : >>> <int name="val1">1225</int> >>> <int name="val2">1082</int> >>> <int name="val3">1076</int> >>> >>> Query : text_field:term&facet.field=f&facet.limit=200 >>> <int name="val1">1366</int> >>> <int name="val2">1321</int> >>> <int name="val3">1315</int> >>> >>> I am noticing lesser document in facets whereas the numFound during >>> search is more. Please refer to following query for details. >>> >>> Query : text_field:term&facet.field=f >>> Result : >>> <int name="val1">1225</int> >>> <int name="val2">1082</int> >>> <int name="val3">1076</int> >>> >>> Query : text_field:term AND f:val1 >>> Result: numFound=1366 >>> >>> Kindly help me understand this behavior or let me know if it is an issue. >>> >>> Thanks, >>> Modassar >>> >> >>