After RT branch lands we should remove DWPT re-use code from indexer [LUCENE-3050]
Open
legacy-jira-priority:Minor
type:enhancement
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
We used to re-use data structures inside DWPT, we after RT we do not and so we should remove places where we go and clean stuff up (eg termsHash.reset in FreqProxTermsWriter)...
---
Migrated from [LUCENE-3050](https://issues.apache.org/jira/browse/LUCENE-3050) by Michael McCandless (@mikemccand)
Contributor guide
Research direction
Start in the indexer code by locating FreqProxTermsWriter and its termsHash.reset call, then inspect the other DWPT data-structure reuse paths mentioned in the issue. Done means obsolete reuse and cleanup code is removed consistently now that RT no longer reuses those structures, with the relevant indexer tests still passing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- search
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100