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

new FunctionRangeQuery, plus ValueSourceScorer improvements

Details

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

    Description

      This issue provides a new FunctionRangeQuery, which is basically a wrapper around ValueSourceScorer (retrieved from FunctionValues.getRangeScorer). It replaces ValueSourceFilter in the spatial module. Solr has a class by the same name which is similar but isn't suitable to being ported.

      Also, it includes refactorings to the ValueSourceScorer, to include performance enhancements by making it work with the TwoPhaseIterator API.

      note: I posted this to LUCENE-4251 initially but then felt it's really its own issue.

      Attachments

        1. LUCENE-6720__FunctionRangeQuery.patch
          37 kB
          David Smiley
        2. LUCENE-6720__FunctionRangeQuery.patch
          37 kB
          David Smiley

        Issue Links

          Activity

            People

              dsmiley David Smiley
              dsmiley David Smiley
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: