lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <ysee...@gmail.com>
Subject Re: Lucene Document order not being maintained?
Date Wed, 05 Apr 2006 20:17:35 GMT
On 4/5/06, Dan Armbrust <daniel.armbrust.list@gmail.com> wrote:
> I'll continue to try to generate a test case that gets the docs out of
> order... but if someone in the know could answer authoritatively whether

I browsed the code for IndexWriter.addIndexes(Dir[]), and it looks
like it should preserve order.
The directories are added in order, and the segments for each
directory are added in order.  The merging code is shared, so that
shouldn't do anything different than normal segment merges.

-Yonik
http://incubator.apache.org/solr Solr, The Open Source Lucene Search Server

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message