apache / apache/lucene

change PrefixCodedTerms.iterator to java.util.Iterator [LUCENE-6351]

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

Description

The current api is horrible... no performance advantage can justify this.

We should use java.util.iterator like before again.

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

Contributor guide

Open the contributing guide

Research direction

Start by locating PrefixCodedTerms.iterator and inspect its current API alongside java.util.Iterator. Done means the iterator uses the standard java.util.Iterator API again, with the affected Lucene tests passing.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.