: We are using Solr3.6 and 2 shards, we are noticing that when we fire a query : with start as 0 and rows X the total numFound and the total numFound changes : when we fire the same exact query with start as y and rows X.
The only situation where i've ever heard of this happening is when multiple shards have documents with identical uniqueKeys... http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201206.mbox/%3CCAPoDz8S4Z-jnyptFXdv7VJdWntY0Lx_=nzhvq0qtcfqyx7m...@mail.gmail.com%3E http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201206.mbox/%3Calpine.DEB.2.00.1206191429520.19329@bester%3E http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201206.mbox/%3CCAPoDz8S59kzUdCAZwHRquzUhM=C90ReyCNe3Au00xsc=wh0...@mail.gmail.com%3E As noted in the docs.. http://wiki.apache.org/solr/DistributedSearch?#Distributed_Searching_Limitations "The unique key field must be unique across all shards. If docs with duplicate unique keys are encountered, Solr will make an attempt to return valid results, but the behavior may be non-deterministic. " -Hoss