RE: Facet Double Counting

2015-01-25 Thread Toke Eskildsen
harish singh [harish.sing...@gmail.com] wrote: > I tried the Faceting on the UUID field. Nice debug trick. I'll remember that to next time. > So does this mean, when I do a facet query on facet.field= loginUserName, > Solr does not look at the UUID? Yes. For faceting, Solr only uses the internal

Re: Facet Double Counting

2015-01-25 Thread harish singh
Oh yes!! :) I tried the Faceting on the UUID field. All the uuids have count = 2 ==> which probably explains why I am getting Double counting in Facet result. So does this mean, when I do a facet query on facet.field= loginUserName, Solr does not look at the UUID? And the unique field (UUID in thi

RE: Facet Double Counting

2015-01-25 Thread Toke Eskildsen
harish singh [harish.sing...@gmail.com] wrote: > As you see, the result is showing Facet-Count for "loginUserName= harry" is > 36. > > So when I do a Solr Search for logs, I should get 36 logs. > But I am getting 18. > This happening for all the searches now. If you have recently added or changed

Re: Facet Double Counting

2015-01-25 Thread Ahmet Arslan
weird, optimize or expungeDeletes=true should do the trick. Can you try to optimise this time? On Sunday, January 25, 2015 11:08 AM, harish singh wrote: Still the same. Can the reason be that if there are duplicate logs/documents, then the Facet query will count them, but when I do the Search Q

Re: Facet Double Counting

2015-01-25 Thread harish singh
Still the same. Can the reason be that if there are duplicate logs/documents, then the Facet query will count them, but when I do the Search Query, solr eliminates the duplicates? On Sat, Jan 24, 2015 at 11:47 PM, Ahmet Arslan wrote: > > > Hi Harish, > > What happens when you purge deleted ter

Re: Facet Double Counting

2015-01-24 Thread Ahmet Arslan
Hi Harish, What happens when you purge deleted terms with 'solr/core/update?commit=true&expungeDeletes=true' ahmet On Sunday, January 25, 2015 1:59 AM, harish singh wrote: Hi, I am noticing a strange behavior with solr facet searching: This is my facet query: - params: { -

Facet Double Counting

2015-01-24 Thread harish singh
Hi, I am noticing a strange behavior with solr facet searching: This is my facet query: - params: { - facet: "true", - sort: "startTimeISO desc", - debugQuery: "true", - facet.mincount: "1", - facet.sort: "count", - start: "0", - q: "requestType:(