lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <>
Subject Re: Document Ordering
Date Tue, 17 Feb 2015 03:16:10 GMT
Have a look at SortingMergePolicy:

On Mon, Feb 16, 2015 at 9:47 PM, Elliott Bradshaw <> wrote:
> Hi,
> I'm interested in using Lucene to index binary objects with a specific
> document order, such that documents with the same key will be adjacent in
> the indexes.  This would be done with the intent to maximize the use of the
> disk block cache, since adjacent documents are more likely to be accessed
> together.  I realize that the document number is typically internal to
> Lucene, but is it possible to customize this ordering based on say the ID
> of the document?
> Just curious.  Thanks.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message