apache / apache/lucene

Change Postings Format [LUCENE-7881]

Open
#8,932 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

I would like to customize the postings format in lucene to hold more information about each token. I am looking into FreqProxPostingArray. Is this the actual data structure that holds the postings? I also looked at SimpleTextFieldsWriter. What other files should I look at in order to see the changes in index?

---
Migrated from [LUCENE-7881](https://issues.apache.org/jira/browse/LUCENE-7881) by Jaewoo Kim (@jaywoo123)

Contributor guide

Open the contributing guide

Research direction

Start by reading FreqProxPostingArray and SimpleTextFieldsWriter to understand their roles in Lucene's postings and index-writing paths. Trace the related postings-format files and determine which data structure and interfaces would need to change. The issue does not define the additional token information, required behavior, tests, or a completion criterion, so scope must be clarified before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.