If there is no "official" guarantee in the Javadoc for the code then there is no official guarantee. Period. If somebody wants an official, contractual guarantee, a Jira should be filed to do so. To put it simple, are the values a "list" or a "set"?

-- Jack Krupansky

-----Original Message----- From: Erik Hatcher
Sent: Tuesday, December 18, 2012 9:40 AM
To: solr-user@lucene.apache.org
Cc: solr-user@lucene.apache.org
Subject: Re: "order" question on solr multi value field

I don't know of an "official" guarantee of maintaining order but it's definitely guaranteed an relied upon to retain order. Many will scream if this changed.

Indexed doesn't matter here because what you get back are the stored values no matter if the field is indexed or not.

  Erik

On Dec 18, 2012, at 3:04, hellorsanjeev <sanjeev.dhi...@3pillarglobal.com> wrote:

thank you for quick response :)

I also have the same observation and I too believe that there is no reason
for Solr to reorder a multi value field.

But would you stay firm on your conclusion if I say that my multi value
field was indexed?

Please note - as per my one year experience with Solr, it always returned
the values in the insertions order irrespective of the fact that field was
indexed or not.

My main concern is because I couldn't find it documented anywhere, it might
happen that in Solr 4.0 or later, they start reordering them. If they do
then there will be a big problem for us :)



--
View this message in context: http://lucene.472066.n3.nabble.com/order-question-on-solr-multi-value-field-tp4027695p4027713.html Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to