Add back IndexReader.fields() -> Multi*, or discourage term vectors in some better way [LUCENE-4694]
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
Users can easily get term vectors from any indexreader, but not postings lists. this encourages them to do really slow things: like pulling term vectors for every single document.
this is really really so much worse than going through multifields or whatever.
---
Migrated from [LUCENE-4694](https://issues.apache.org/jira/browse/LUCENE-4694) by Robert Muir (@rmuir), 1 vote, updated Mar 10 2013
Attachments: [LUCENE-4694.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-4694/LUCENE-4694.patch)
Contributor guide
Research direction
Start by reviewing the issue text and attached LUCENE-4694.patch, then locate IndexReader.fields() and the referenced Multi* APIs in the Java sources. The issue does not name files or tests, and work is not complete until the project has a decided API or alternative for avoiding inefficient term-vector access, with corresponding validation.
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
- 25/100