apache / apache/lucene

SortingAtomicReader should be package private [LUCENE-5498]

Open
#6,561 2 comments 0 reactions 0 assignees View on GitHub
legacy-jira-priority:Major type:bug
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

The intended purpose of this reader is to allow you to sort your entire index with IW.addIndexes(IR).

Perhaps we should supply some kind of "tool" to do this and hide the reader. Its scary to think of someone using this for searching (based on its name and docs, its probably not clear that it would be ridiculously slow)

---
Migrated from [LUCENE-5498](https://issues.apache.org/jira/browse/LUCENE-5498) by Robert Muir (@rmuir)

Contributor guide

Open the contributing guide

Research direction

Start by locating SortingAtomicReader and its uses, especially the IW.addIndexes(IR) entry point described in the issue. Review its public documentation and callers to determine the visibility change; done means the reader is package private while the intended whole-index sorting path remains usable.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 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.