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

Rename or move most of MultiFields

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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
          170 kB
          David Smiley
        2. LUCENE-7875.patch
          169 kB
          David Smiley
        3. LUCENE-7875.patch
          169 kB
          David Smiley
        4. LUCENE-7875.patch
          174 kB
          David Smiley

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: