On Tue, Dec 18, 2012 at 8:24 PM, Robert Muir <rcm...@gmail.com> wrote: > I agree with James. Actually lucene tests will fail if a codec violates this. > > Actually it goes much deeper than this. > > From the lucene apis, when you call IndexReader.document() with your > storedfieldVisitor, it must visit the fields in the original order > added.
Yeah, Solr has a weaker guarantee. Order is guaranteed to be maintained for values in a multi-valued field. Order of different fields is not maintained. -Yonik http://lucidworks.com