Re: Identical query returning different aggregate results

2014-12-16 Thread Erick Erickson
Wow, advancing senility... _I'm_ actually the person that committed that fix... Siiihhh. On Tue, Dec 16, 2014 at 5:38 PM, David Smith wrote: > Chris, > > Yes, your suggestion worked. Changing the parameter in my query from > > ...f.eventDate.facet.mincount=1... > > > to > > ...f.eventDate.f

Re: Identical query returning different aggregate results

2014-12-16 Thread David Smith
Chris, Yes, your suggestion worked.  Changing the parameter in my query from  ...f.eventDate.facet.mincount=1... to ...f.eventDate.facet.mincount=0... worked around the problem. And I agree that SOLR-6154 describes what I observed almost exactly.  Once 5.0 is available, I'll test this again

Re: Identical query returning different aggregate results

2014-12-16 Thread Chris Hostetter
sounds like this bug... https://issues.apache.org/jira/browse/SOLR-6154 ...in which case it has nothing to do with your use of multiple collections, it's just dependent on wether or not the first node to respond happens to have a doc in every "range bucket" .. any bucket missing (because of y

Re: Identical query returning different aggregate results

2014-12-16 Thread Erick Erickson
Ah, OK. I didn't get that when I read your first e-mail... Hmmm, this is still a puzzle then. Tail the respective Solr logs, you _should_ be seeing the sub-query go to each of them and the sub-query _should_ carry along all of the faceting information. Or this might just be a flat bug... Best, Er

Re: Identical query returning different aggregate results

2014-12-16 Thread David Smith
Hi Erick, Thanks for your reply. My test environment only has one shard and one replica per collection.  So, I think there is no possibility of replicas getting out of sync.  Here is how I create each (month-based) collection: http://192.168.59.103:8983/solr/admin/collections?action=CREATE&name=2

Re: Identical query returning different aggregate results

2014-12-16 Thread Erick Erickson
bq: Facet counts include deleted documents until the segments merge Whoa! Facet counts do _not_ require segment merging to be accurate. What merging does is remove the _term_ information associated with deleted documents, and removes their contribution to the TF/IDF scores. David: Hmmm, what happ

Re: Identical query returning different aggregate results

2014-12-16 Thread David Smith
Alex, Good suggestion, but in this case, no.  This example is from a cleanroom type test environment where the collections have very recently been created, there are only 4 documents total across all collections, and no delete's have been issued. Kind regards, David On Tuesday, December

Re: Identical query returning different aggregate results

2014-12-16 Thread Alexandre Rafalovitch
Facet counts include deleted documents until the segments merge. Could that be an issue? Regards, Alex On 16/12/2014 12:18 pm, "David Smith" wrote: > I have a prototype SolrCloud 4.10.2 setup with 13 collections (of 1 > replica, 1 shard each) and a separate 1-node Zookeeper 3.4.6. > The ver