apache / apache/lucene

Provide API to open IR on a specific IndexCommit with ReaderManager [LUCENE-5250]

Open
#6,314 2 comments 0 reactions 0 assignees View on GitHub
affects-version:4.4 legacy-jira-priority:Trivial module:core/index type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

Currently it is not possible to create a ReaderManager instance on a given IndexCommit. Since the ReaderManager is final class, one has to extend ReferenceManager instead when IR has to be opened on a specified IndexCommit.

---
Migrated from [LUCENE-5250](https://issues.apache.org/jira/browse/LUCENE-5250) by Akos Kitta, updated Oct 06 2013

Contributor guide

Open the contributing guide

Research direction

Start by reading ReaderManager, ReferenceManager, and IndexCommit to understand how readers are currently opened and why a specified commit is unsupported. Identify the existing ReaderManager construction entry points and determine the API shape needed to open it on a given IndexCommit. Done means callers can create a ReaderManager for the specified commit without extending ReferenceManager.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.