Thanks Erick. We could not recollect what could have happened in between.. 

Yes. We are seeing the same document in 2 shards.

"Uniquefiled" is set as uuid in schema and declared as String.  Will go with
reindexing. 

schema.xml :     <field name="uuid_s" type="string" indexed="true"
stored="true" multiValued="false"/>

Query:
http://localhost:1004/solr/collection1/select?q=id:%22mongo.com-e25a2-11e3-8a73-0026b9414f30%22&wt=xml&shards.info=true

Response:
<lst name="shards.info">
<lst
name="10.5.16.70:80/solr/collection1/|10.17.194.61:80/solr/collection1/">
*<long name="numFound">1</long>*
<float name="maxScore">17.853292</float>
<long name="time">3</long>
</lst>
<lst
name="10.79.19.21:80/solr/collection1/|10.15.98.101:80/solr/collection1/">
*<long name="numFound">1</long>*
<float name="maxScore">17.850622</float>
<long name="time">2</long>
</lst>
<lst
name="10.23.199.114:80/solr/collection1/|10.18.146.147:80/solr/collection1/">
<long name="numFound">0</long>
<float name="maxScore">0.0</float>
<long name="time">3</long>
</lst>
<lst
name="10.16.69.89:80/solr/collection1/|10.67.13.91:80/solr/collection1/">
<long name="numFound">0</long>
<float name="maxScore">0.0</float>
<long name="time">4</long>
</lst>
<lst
name="10.27.197.159:80/solr/collection1/|10.10.187.216:80/solr/collection1/">
<long name="numFound">0</long>
<float name="maxScore">0.0</float>
<long name="time">19</long>
</lst>
</lst>






--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-Cloud-Duplicate-documents-in-multiple-shards-tp4218162p4219458.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to