Solr
  1. Solr
  2. SOLR-25

change FunctionQuery to use ComplexExplanation

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Labels:
      None

      Description

      LUCENE-605 added a new ComplexExplanation class to the Lucene core which allows for Explanations of queries which match documents with non-positive scores – somethign that can happen quite a bit with FunctionQueries.

      Here is a patch to make FunctionQuery take advantage of the new CompelxExplanation class if you are using a bleeding edge version of lucene-core.

      This patch can be commited in Solr once we're ready to rev lib/lucene-core-nightly.jar again.

        Activity

        Hide
        Hoss Man added a comment -

        I think we've rev'ed Lucene twice since I opened this, but I finally remembered to commit the change

        Show
        Hoss Man added a comment - I think we've rev'ed Lucene twice since I opened this, but I finally remembered to commit the change
        Hide
        Hoss Man added a comment -

        This bug was modified as part of a bulk update using the criteria...

        • Marked ("Resolved" or "Closed") and "Fixed"
        • Had no "Fix Version" versions
        • Was listed in the CHANGES.txt for 1.1

        The Fix Version for all 38 issues found was set to 1.1, email notification
        was suppressed to prevent excessive email.

        For a list of all the issues modified, search jira comments for this
        (hopefully) unique string: 20080415hossman3

        Show
        Hoss Man added a comment - This bug was modified as part of a bulk update using the criteria... Marked ("Resolved" or "Closed") and "Fixed" Had no "Fix Version" versions Was listed in the CHANGES.txt for 1.1 The Fix Version for all 38 issues found was set to 1.1, email notification was suppressed to prevent excessive email. For a list of all the issues modified, search jira comments for this (hopefully) unique string: 20080415hossman3

          People

          • Assignee:
            Hoss Man
            Reporter:
            Hoss Man
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development