Re: Order of values in stored field

2014-01-15 Thread Jamie Johnson
great, thanks Yonik. My testing had shown that was the case but I wasn't sure if that was just happenstance or something that was guaranteed by the API. Again I appreciate the fast response! On Wed, Jan 15, 2014 at 11:25 AM, Yonik Seeley wrote: > On Wed, Jan 15, 2014 at 10:55 AM, Jamie Johnson

Re: Order of values in stored field

2014-01-15 Thread Yonik Seeley
On Wed, Jan 15, 2014 at 10:55 AM, Jamie Johnson wrote: > Is there any guarantee in Solr/Lucene for the order of values in a stored > field? Yes, order is preserved. -Yonik http://heliosearch.org -- off-heap filters for solr

Order of values in stored field

2014-01-15 Thread Jamie Johnson
Is there any guarantee in Solr/Lucene for the order of values in a stored field? For instance if we did the following document.addField("text", "value 1"); document.addField("text", "value 2"); document.addField("text", "value 3"); is there a guarantee that the document will return the field v