thanks karsten. can we preserve order within index field ? if yes, i can index them separately and map them using their order.
On 24 October 2011 17:32, <karsten-s...@gmx.de> wrote: > Hi Jame, > > you can > - generate one token for each pair (key, value) --> key_value > - insert a gap between each pair and us phrase queries > - use key as field-name (if you have a restricted set of keys) > - wait for joins in Solr 4.0 (http://wiki.apache.org/solr/Join) > - use position or payloads to connect key and value > - tell the forum your exact use-case with examples > > Best regrads > Karsten > > -------- Original-Nachricht -------- > > Datum: Mon, 24 Oct 2011 17:11:49 +0530 > > Von: jame vaalet <jamevaa...@gmail.com> > > An: solr-user@lucene.apache.org > > Betreff: indexing key value pair into lucene solr index > > > hi, > > in my use case i have list of key value pairs in each document object, if > > i > > index them as separate index fields then in the result doc object i will > > get > > two arrays corresponding to my keys and values. The problem i face here > is > > that there wont be any mapping between those keys and values. > > > > do we have any easy to index these data in solr ? thanks in advance ... > > > > -- > > > > -JAME > -- -JAME