lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Modassar Ather <modather1...@gmail.com>
Subject Re: Results of facet differs with change in facet.limit.
Date Tue, 03 May 2016 05:02:57 GMT
Hi,

Kindly share your inputs on this issue.

Thanks,
Modassar

On Mon, May 2, 2016 at 3:53 PM, Modassar Ather <modather1981@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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message