lucene-java-user mailing list archives

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

http://lucene.apache.org/core/4_10_0/misc/org/apache/lucene/index/sorter/SortingMergePolicy.html

On Mon, Feb 16, 2015 at 9:47 PM, Elliott Bradshaw <ebradshaw1@gmail.com> 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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message