Some ideas: - Use copyField to copy fields to the field designated as the uniqueKey (not sure if this will work) - Create the field from existing data before sending docs to Solr - Create a custom UpdateRequestProcessor that adds a field for each document it processes and stuffs it with other fields' values - Try http://wiki.apache.org/solr/Deduplication
I'd be curious to know which of these you will choose. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch ----- Original Message ---- > From: Anand Kumar Prabhakar <anand2...@gmail.com> > To: solr-user@lucene.apache.org > Sent: Tuesday, July 14, 2009 5:13:47 AM > Subject: Using Multiple fields in UniqueKey > > > Is there any possiblity of Adding Multiple fields to the UniqueKey in > Schema.xml(An Implementation similar to Compound Primary Key)? > > > -- > View this message in context: > http://www.nabble.com/Using-Multiple-fields-in-UniqueKey-tp24476088p24476088.html > Sent from the Solr - User mailing list archive at Nabble.com.