Autogenerated ID for LeafReaderContexts Within An IndexSearcher [LUCENE-8798]
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
It would be good to be able to uniquely identify LeafReaderContext objects associated within a single IndexSearcher. This would allow storing of metadata around segments, such as demonstrated in #1954
The ID will be unique across the IndexSearcher instance and will make no guarantees of any semantic value outside the instance.
---
Migrated from [LUCENE-8798](https://issues.apache.org/jira/browse/LUCENE-8798) by Atri Sharma (@atris)
Contributor guide
Research direction
Start by reading the LeafReaderContext and IndexSearcher APIs, then review the metadata use case referenced in #1954. Done means each LeafReaderContext associated with one IndexSearcher has a unique ID, with no uniqueness guarantee outside that IndexSearcher.
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