apache / apache/lucene

cleanup 4.0 term vectors format [LUCENE-3739]

Open
#4,813 4 comments 0 reactions 0 assignees View on GitHub
affects-version:4.0-ALPHA legacy-jira-priority:Major type:task
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

Spinoff from #4812.

at a minimum, we should not write negative offset deltas, should cleanup the code to use codecutil header, etc.

maybe its possible we could make it more efficient too.

---
Migrated from [LUCENE-3739](https://issues.apache.org/jira/browse/LUCENE-3739) by Robert Muir (@rmuir)
Attachments: [LUCENE-3739.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-3739/LUCENE-3739.patch) (versions: 2)

Contributor guide

Open the contributing guide

Research direction

Start with the attached LUCENE-3739.patch and the parent issue #4812 to understand the existing term vectors format and the proposed cleanup. Done means avoiding negative offset deltas, using the CodecUtil header, and determining whether the format can be made more efficient without leaving the scope undefined.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.