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

NPE doing local sensitive sorting when sort field is missing

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: None
    • Component/s: core/search
    • Labels:
      None

      Description

      If you do a local sensitive sort against a field that is missing from some documents in the index an NPE will get thrown.

      Attached is a patch which resolved the issue and updates the sort test case to give coverage to this issue.

        Attachments

          Activity

            People

            • Assignee:
              hossman Hoss Man
              Reporter:
              ohutchison Oliver Hutchison
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: