lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alok Bhandari <alokomprakashbhand...@gmail.com>
Subject Multivalued fields order of storing is guaranteed ?
Date Wed, 17 Jun 2015 10:44:20 GMT
Hello ,

I am using Solr 5.10 , I have a use case to fit in.

Lets say I define 2 fields group-name,group-id both multivalued and stored .
1)now I add following values to each of them 
group-name {a,b,c} and group-id{1,2,3} . 

2)Now I want to add new value to each of these 2 fields {d},{4} , my
requirement is that it should add these new values such that when I query
these 2 fields it should return me {a,b,c,d,} and {1,2,3,4} in this order
i.e a<=>1,....d<=>4. 

Is it guaranteed that stored multivalued fields maintain order of insertion.
Or I need to to explicitly handle this scenario.
Any help is appreciated.

Thanks,
Alok






--
View this message in context: http://lucene.472066.n3.nabble.com/Multivalued-fields-order-of-storing-is-guaranteed-tp4212383.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message