On 9/11/2015 8:25 AM, Mr Havercamp wrote: > Running 4.8.1. I am experiencing the same problem where I get duplicates on > index update despite using overwrite=true when adding existing documents. > My duplicate ratio is a lot higher with maybe 25 - 50% of records having > duplicates (and as the index continues to run the duplicates increase from > 2 to 3,4,5 etc). > > <field name="key" type="string" indexed="true" stored="true" > required="true"/> > > and > > <uniqueKey>key</uniqueKey> > > are set in the schema.xml but along with overwrite="true" this still > doesn't guarantee uniqueness.
What is the fieldType definition for "string" ? I know what it is in the example, but it could be something entirely different in your schema. Also, is it SolrCloud? Thanks, Shawn