In a Solr index of journal articles, I thought I was safe reindexing articles because their unique ID would cause the new record in the index to overwrite the old one. (As stated at http://wiki.apache.org/solr/SchemaXml#The_Unique_Key_Field - right?)

My schema.xml includes:

<fields>...
<field name="id" type="string" indexed="true" stored="true"
  required="true"/>
...</fields>

And:

<uniqueKey>id</uniqueKey>

And yet I can compose a query with two hits in the index, showing:

#1: <str name="id">03405443/v66i0003/347_mrirtaitmbpa</str>
#2: <str name="id">03405443/v66i0003/347_mrirtaitmbpa</str>


Can anyone give pointers on where I'm screwing something up?


Thomas Dowling
thomas.dowl...@gmail.com

Reply via email to