apache / apache/lucene

MemoryIndex should store payloads per-field [LUCENE-7684]

Open
#8,735 3 comments 0 reactions 0 assignees View on GitHub
legacy-jira-priority:Major type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

Currently MemoryIndex will store payloads for all fields, or for none. It would be useful instead for it to store them per-field.

---
Migrated from [LUCENE-7684](https://issues.apache.org/jira/browse/LUCENE-7684) by Alan Woodward (@romseygeek)
Attachments: [LUCENE-7684.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-7684/LUCENE-7684.patch)
Linked issues:
- #7217

Contributor guide

Open the contributing guide

Research direction

Start by locating MemoryIndex and reviewing the attached LUCENE-7684.patch, then check linked issue #7217 for related context. The requested behavior is for payload storage to be selectable per field rather than globally enabled or disabled; done means the per-field behavior is implemented and covered by the relevant existing tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.