apache / apache/lucene

After RT branch lands we should remove DWPT re-use code from indexer [LUCENE-3050]

Open
#4,123 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.