The uniqueKey should be a non-tokenized field to avoid this kind of a
problem.

Try making the uniqueKey a string type.

On Sun, Jan 18, 2009 at 5:02 PM, RaghavPrabhu <raghavprabh...@gmail.com>wrote:

>
> Hi all,
>
>  Im updating the document in solr with uniqueKey.The problem is when i
> update the document in the solr with same uniqueKey, that also getting
> indexed.Generally, when the document having the uniqueKey which is already
> indexed,it should delete the old one and new one to be indexed.In my case
> all documents with same uniqueKey also indexed.How can i rectify this
> problem?
>
> <field name="keyID" type="text" indexed="true" stored="true"
> multiValued="true" required="true"/>
>
> <uniqueKey>keyID</uniqueKey>
>
>
> Pls give the solution as soon as possible.
>
> Thanks in advance
> Prabhu.K
> --
> View this message in context:
> http://www.nabble.com/UniqueKey-documents-getting-indexed-multiple-time-tp21526766p21526766.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>


-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to