It will not happen but you must: 1. Have Unique ID for each document 2. Make sure you define this field in the schema.xml <uniqueKey>YOUR_DOC_UQ_ID_FIELD_NAME</uniqueKey> 3. If you are using multiple shards query and not using solr cloud then you have to make sure you are not inserting the same document into two different shards. The uniqueness I mentioned in sections 1,2 is only for a specific shard/core. There is no way that one solr core will enforce uniqueness on other shards/cores unless you use solr cloud.
On Sun, Apr 10, 2016 at 2:53 PM, Anil <anilk...@gmail.com> wrote: > HI, > > i am loading solr recrods for a particular query to application cache. > > Lets say total number of eligible records (numFound) are 501. > > my solr queries would be > > page 1 : q=*:*&start=0&rows=100 > page 2 : q=*:*&start=100&rows=100 > page 3 : q=*:*&start=200&rows=100 > page 4 : q=*:*&start=300&rows=100 > page 5 : q=*:*&start=400&rows=100 > page 6 : q=*:*&start=500&rows=100 > > i see page 1 & 2 has common documents and similarly in other pages as well. > Is this correct behavior ? Please correct. > > > Thanks, > Anil >