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: Natural Sort Order
Date Tue, 15 Oct 2013 01:49:24 GMT
On Mon, Oct 14, 2013 at 9:43 PM, Darren Hoffman <darren@jnamics.com> wrote:
> Can anyone tell me if a search based on a ConstantScoreQuery should return
> the results in the order that the documents were added to the index?

The order will be internal docid, which used to be the order that docs
were added to the index.
Non-contiguous segments can now be merged, so that is no longer the case.

-Yonik

---------------------------------------------------------------------
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