Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-7875

Rename or move most of MultiFields

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 8.0
    • 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

        1. LUCENE-7875.patch
          174 kB
          David Smiley
        2. LUCENE-7875.patch
          169 kB
          David Smiley
        3. LUCENE-7875.patch
          169 kB
          David Smiley
        4. LUCENE-7875.patch
          170 kB
          David Smiley

        Issue Links

          Activity

            People

              dsmiley David Smiley
              dsmiley David Smiley
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: