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

CombinedFieldQuery can fail when document is missing fields

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 8.10
    • None
    • None
    • New

    Description

      If some documents match but don't contain all fields, then CombinedFieldQuery can fail when attempting to compute norms. This is because MultiFieldNormValues assumes all fields in the document have norms.

      Originally surfaced in this Elasticsearch issue: https://github.com/elastic/elasticsearch/issues/74037.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              julietibs Julie Tibshirani
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 10m
                  2h 10m