lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fran├žois Schiettecatte <fschietteca...@gmail.com>
Subject Re: UniqueKey field in schema.xml
Date Thu, 26 May 2011 10:48:42 GMT
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.


Mime
View raw message