Also, it would be a good idea to verify if the numDocs are in sync between leaders and replicas. You can view this from the admin screens.
Joel Bernstein Search Engineer at Heliosearch On Thu, Jul 17, 2014 at 9:53 PM, Erick Erickson <erickerick...@gmail.com> wrote: > Is there any chance that there's a commit happening in between these calls > causing the number of files to change? Is there any indexing going on at > all? > > Best, > Erick > > > On Wed, Jul 16, 2014 at 7:26 PM, Cool Techi <cooltec...@outlook.com> > wrote: > > > Hi, > > We are using solr cloud with solr version 4.8, we have 2 shard/2 replica > > servers in Solr Cloud. During two consecutive request to the solr cloud, > > the "total results" number varies. > > 1) As per my understanding this can happen when the leader and the > replica > > have inconsistant number of results. > > 2) This inconsistant number of docs between leader and replica can happen > > only when replica is recovering. Should a request be sent to a node which > > is recovering. > > Since this is happening on our live setup, we tend to question how much > > can we rely on solr. What could be causing this and what's the fix. > > Regards >