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 11:09:37 GMT
Here is some code:

------
final String key1 = "1";
final String key2 = "2";

final String masterKey = key1 + ":" + key2;
------

You need to combine the keys *before* you send them to Solr.

Fran├žois



On May 26, 2011, at 7:02 AM, Romi wrote:

> I am not getting how can i combine two keys in to a single string using some
> delimiter
> 
> -----
> Romi
> --
> View this message in context: http://lucene.472066.n3.nabble.com/UniqueKey-field-in-schema-xml-tp2987807p2988284.html
> Sent from the Solr - User mailing list archive at Nabble.com.


Mime
View raw message