take a look to  <updateRequestProcessorChain name="dedupe">
I think you must use dedup to solve this issue

 

 

-----Original Message-----
From: Thomas Dowling <tdowl...@ohiolink.edu>
To: solr-user <solr-user@lucene.apache.org>
Cc: Mikhail Khludnev <mkhlud...@griddynamics.com>
Sent: Fri, Mar 2, 2012 1:10 pm
Subject: Re: Help with duplicate unique IDs


Thanks.  In fact, the behavior I want is overwrite=true.  I want to be 
able to reindex documents, with the same id string, and automatically 
overwrite the previous version.


Thomas


On 03/02/2012 04:01 PM, Mikhail Khludnev wrote:
> Hello Tomas,
>
> I guess you could just specify overwrite=false
> http://wiki.apache.org/solr/UpdateXmlMessages#Optional_attributes_for_.22add.22
>
>
> On Fri, Mar 2, 2012 at 11: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<http://wiki.apache.org/solr/SchemaXml#The_Unique_Key_Field>-
>>  
right?)
>>

 

Reply via email to