apache / apache/lucene

Discuss if DocValues should extend StoredField or not [LUCENE-4349]

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

Description

Robert Muir:
> But I think this is related to my comment above: I think its confusing that DocValues fields are treated
> as Stored fields at all?
> This basically is the same problem all over again\.
> You make a Document with N StorableFields
> You call IR\.document and get a StorableDocument back, with N-3 StorableFields\.
> You wonder: what happened to the other 3 fields?
> They were DocValues\.

---
Migrated from [LUCENE-4349](https://issues.apache.org/jira/browse/LUCENE-4349) by Uwe Schindler (@uschindler), updated May 09 2016
Parent: #5413

Contributor guide

Open the contributing guide

Research direction

Review parent issue #5413 and the migrated LUCENE-4349 discussion first. The issue asks for a design decision about whether DocValues should extend StoredField, but it names no files or tests; done would require a recorded decision and any resulting work to be identified.

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
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.