Once I had the same problem. I didn't know what's going on. After few
moment of analysis I created completely new index and removed old one
(I hadn't enough time to analyze problem). Problem didn't come back
any more.

--
Regards,
Pawel

On Fri, Mar 2, 2012 at 8:23 PM, Thomas Dowling <tdowl...@ohiolink.edu> wrote:
> 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