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

optimize sortfield.needsScore on expressions

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.6, 6.0
    • Component/s: modules/other
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      To fix LUCENE-5222, it currently returns true with // TODO: optimize.

      this is needed for e.g. IndexSearcher with executorService search to merge results from the different segments.

      ideally we should only return this if it really does need it, not if its essentially just a computed field.

        Attachments

        1. LUCENE-5226.patch
          5 kB
          Robert Muir

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rcmuir Robert Muir
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: