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

Only check docsWithField when necessary in numeric comparators

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • None
    • 4.10, 6.0
    • None
    • None
    • New

    Description

      Our numeric comparators have branches to deal with missing values. However there are some cases when checking docs that have a field is not useful:

      • if all docs have a value
      • if no docs have a value
      • if the missing value is 0

      Attachments

        1. LUCENE-5837.patch
          9 kB
          Adrien Grand
        2. LUCENE-5837.patch
          9 kB
          Adrien Grand

        Activity

          People

            jpountz Adrien Grand
            jpountz Adrien Grand
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: