You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2021/03/29 18:30:58 UTC

[GitHub] [lucene-solr] mayya-sharipova opened a new pull request #2473: LUCENE-9507 Custom order for leaves

mayya-sharipova opened a new pull request #2473:
URL: https://github.com/apache/lucene-solr/pull/2473


   Custom order for leaves in IndexReader and IndexWriter
   
   1.Add an option to supply a custom leaf sorter for IndexWriter.
   A DirectoryReader opened from this IndexWriter will have its leaf
   readers sorted with the provided leaf sorter. This is useful for
   indices on which it is expected to run many queries with particular
   sort criteria (e.g. for time-based indices this is usually a
   descending sort on timestamp). Providing leafSorter allows
   to speed up early termination for this particular type of
   sort queries.
   
   2. Add an option to supply a custom sub-readers sorter for
   BaseCompositeReader. In this case sub-readers will be sorted
   according to the the provided leafSorter.
   
   3. Add an option to supply a custom leaf sorter for
   StandardDirectoryReader. The leaf readers of this
   StandardDirectoryReader will be sorted according to
   the the provided leaf sorter.
   
   Backport for https://github.com/apache/lucene/pull/32


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [lucene-solr] mayya-sharipova merged pull request #2473: LUCENE-9507 Custom order for leaves

Posted by GitBox <gi...@apache.org>.
mayya-sharipova merged pull request #2473:
URL: https://github.com/apache/lucene-solr/pull/2473


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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