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 <pkhandelw...@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.