You concatenate the two keys into a single string, with some sort of delimiter between the two keys.
François On May 26, 2011, at 6:05 AM, Romi wrote: > what do you mean by combine two fields customerID and ProductId. > what i tried is > 1. make both fields unique but it doesnot server my purpose > 2. make a new field ID and copy both customerID , ProductId into ID using > CopyField and now make ID as uniqueKey > but i got a error saying: Document specifies multiple unique ids > > ----- > Romi > -- > View this message in context: > http://lucene.472066.n3.nabble.com/UniqueKey-field-in-schema-xml-tp2987807p2988168.html > Sent from the Solr - User mailing list archive at Nabble.com.