Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
New
Description
MultiFields.java has a bunch of static methods that provide a single LeafReader's view over a bunch of things.
This goes to MultiBits (which will become public):
- Bits getLiveDocs(IndexReader reader)
These go to FieldInfos:
- FieldInfos getMergedFieldInfos(IndexReader reader)
- Collection<String> getIndexedFields(IndexReader reader)
These go to MultiTerms:
- Terms getTerms(IndexReader r, String field)
- PostingsEnum getTermPostingsEnum(IndexReader r, String field, BytesRef term) which is renamed a little
Attachments
Attachments
Issue Links
- relates to
-
LUCENE-8513 Remove MultiFields.getFields and minimize use of MultiFields instance
- Closed