lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shalin Shekhar Mangar <shalinman...@gmail.com>
Subject Re: Issue with Unique Key
Date Sat, 28 Mar 2009 17:18:59 GMT
As a best practice, use a unique key which is not tokenized e.g. a string
type.

On Sat, Mar 28, 2009 at 10:42 PM, prerna07 <pkhandelwal2@sapient.com> wrote:

>
>
> Issue: Unique Key not working.
>
> We defined unique key in schema.xml:
>
> <field name="IndexId_s" type="text" indexed="true" stored="true" />
> <uniqueKey>IndexId_s</uniqueKey>
>
> Still multiple index are getting craete with the same Index_id.
>
> Please suggest if we need to add/ change something in schema.xml.
>
> Thanks,
> prerna
> --
> View this message in context:
> http://www.nabble.com/Issue-with-Unique-Key-tp22759124p22759124.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>


-- 
Regards,
Shalin Shekhar Mangar.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message