Term vectors options should not be configurable per-doc [LUCENE-9078]
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
Make term vectors constant across the index. Remove the user ability to modify the term vector options per doc, IndexWriter allows this.
Once done, consider removing Fields, as the list of fields could be obtained from FieldInfos. See the discussion in #9089.
---
Migrated from [LUCENE-9078](https://issues.apache.org/jira/browse/LUCENE-9078) by Bruno Roustant (@bruno-roustant), 2 votes, updated Mar 15 2021
Linked issues:
- #10374
- #9089
Contributor guide
Research direction
Start by reading how IndexWriter currently permits per-document term vector options, then review the discussion in #9089 and the linked issue #10374. Done means term vector options are constant across the index and users can no longer modify them per document; consider the separately mentioned removal of Fields only after that scope is understood.
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
- 25/100