You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/07/30 13:16:00 UTC
[jira] [Commented] (LUCENE-10027) Custom order for leaves in
DirectoryReader opened from IndexCommit
[ https://issues.apache.org/jira/browse/LUCENE-10027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17390570#comment-17390570 ]
ASF subversion and git services commented on LUCENE-10027:
----------------------------------------------------------
Commit 1daf7e7c742cf53cb62a55bc3993a76d878e3223 in lucene's branch refs/heads/main from Mayya Sharipova
[ https://gitbox.apache.org/repos/asf?p=lucene.git;h=1daf7e7 ]
LUCENE-10027 provide leaf sorter from commit (#214)
Provide leaf sorter for directory readers opened from IndexCommit
LUCENE-9507 allowed to provide a leaf sorter for directory readers.
One API that was missed is to allow to provide a leaf sorter
for directory readers opened from an index commit.
This patch address this by adding an extra parameter: a custom
comparator for sorting leaf readers to the Directory reader open API
from indexCommit and minSupportedMajorVersion.
Relates to PR #32
> Custom order for leaves in DirectoryReader opened from IndexCommit
> ------------------------------------------------------------------
>
> Key: LUCENE-10027
> URL: https://issues.apache.org/jira/browse/LUCENE-10027
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Mayya Sharipova
> Priority: Trivial
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> This is a left-over from LUCENE-9507 to provide a leaf sorter also for directory readers opened from IndexCommit. This part was missed in LUCENE-9507.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org