Re: Identical query returning different aggregate results

2014-12-16 Thread Erick Erickson
subsequent cores. > > workarround is to set mincount=0 for your facet ranges. > > > > : Date: Tue, 16 Dec 2014 17:17:05 + (UTC) > : From: David Smith > : Reply-To: solr-user@lucene.apache.org, David Smith > : To: Solr-user > : Subject: Identical query returni

Re: Identical query returning different aggregate results

2014-12-16 Thread David Smith
uent cores. workarround is to set mincount=0 for your facet ranges. : Date: Tue, 16 Dec 2014 17:17:05 + (UTC) : From: David Smith : Reply-To: solr-user@lucene.apache.org, David Smith : To: Solr-user : Subject: Identical query returning different aggregate results : : I have a prototype

Re: Identical query returning different aggregate results

2014-12-16 Thread Chris Hostetter
ith : To: Solr-user : Subject: Identical query returning different aggregate results : : 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 very first app test case I wrote is failing intermittently in this en

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

Identical query returning different aggregate results

2014-12-16 Thread David Smith
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 very first app test case I wrote is failing intermittently in this environment, when I only have 4 documents ingested into the cloud. I dug in and found when I q