Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-25

change FunctionQuery to use ComplexExplanation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • None
    • 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.

      Attachments

        1. complex-explaination.patch
          0.9 kB
          Chris M. Hostetter

        Activity

          People

            hossman Chris M. Hostetter
            hossman Chris M. Hostetter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: