Re: Results of facet differs with change in facet.limit.

2016-05-05 Thread Erick Erickson
OK, this is strange on the face of it. Is there any chance you could create a test case that fails? Even if it only fails a small percentage of the time... Best, Erick On Wed, May 4, 2016 at 3:02 AM, Modassar Ather wrote: > The "val1" is same for both the test with limit 100 and 200 so the > fol

Re: Results of facet differs with change in facet.limit.

2016-05-04 Thread Modassar Ather
The "val1" is same for both the test with limit 100 and 200 so the following is true. limit=100 1225 1082 1076 limit=200 1366 1321 1315 This I have noticed irrespective of facet.limit too. Please refer to my previous mail for the example. Thanks, Modassar On Wed, May 4, 2016 at 3:01 PM, Toke E

Re: Results of facet differs with change in facet.limit.

2016-05-04 Thread Toke Eskildsen
On Mon, 2016-05-02 at 15:53 +0530, Modassar Ather wrote: > E.g. > Query : text_field:term&facet.field=f&facet.limit=100 > Result : > 1225 > 1082 > 1076 > > Query : text_field:term&facet.field=f&facet.limit=200 > 1366 > 1321 > 1315 Is the "val1" in your limit=100 test the same term as your "val1"

Re: Results of facet differs with change in facet.limit.

2016-05-03 Thread Modassar Ather
Thanks Erick for your response. I checked with distrib=false. I tried with a smaller result set. *Search* E.g. text_field:term AND f:val1 Number of matches : 49 *Facet:* (distrib=true) text_field:term AND f:val1 *Result* Shard1 : 47 *Facet: *(distrib=false) text_field:term AND f:val1&distrib=f

Re: Results of facet differs with change in facet.limit.

2016-05-03 Thread Erick Erickson
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 wrote: > I t

Re: Results of facet differs with change in facet.limit.

2016-05-03 Thread Modassar Ather
I tried to reproduce the same issue with a field of following type but could not. Please share your inputs. Best, Modassar On Tue, May 3, 2016 at 10:32 AM, Modassar Ather wrote: > Hi, > > Kindly share your inputs on this issue. > > Thanks, > Modassar > > On Mon, May 2, 2016 at 3:53 PM, Modass

Re: Results of facet differs with change in facet.limit.

2016-05-02 Thread Modassar Ather
Hi, Kindly share your inputs on this issue. Thanks, Modassar On Mon, May 2, 2016 at 3:53 PM, Modassar Ather wrote: > Hi, > > I have a field f which is defined as follows on solr 5.x. It is 12 shard > cluster with no replica. > > stored="false" indexed="false" docValues="true"/> > > When I fac

Results of facet differs with change in facet.limit.

2016-05-02 Thread Modassar Ather
Hi, I have a field f which is defined as follows on solr 5.x. It is 12 shard cluster with no replica. 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 : 1225 1082 1076 Query : text_field:term&f