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

Avoid needless calls to LeafReader.fields and MultiFields.getFields

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.7, 7.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      In LUCENE-7500 we're removing LeafReader.fields for 7.x. Here in this issue for 6.x and 7.x we simply avoid calling this method (and also MultiFields.getFields) when there is an obvious replacement for LeafReader.terms(field) (and MultiFields.getTerms). Any absolutely non-trivial changes are occurring in LUCENE-7500.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: