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

Easily create queries that transform subquery scores arbitrarily

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • core/search
    • None
    • Patch Available

    Description

      Refactor DisMaxQuery into SubQuery(Query|Scorer) that admits easy subclassing. An example is given for multiplicatively combining scores.

      Note: patch is not clean; for demonstration purposes only.

      Attachments

        1. CustomBoostQuery.java
          12 kB
          Mike Klaas
        2. prodscorer.patch.diff
          39 kB
          Mike Klaas

        Issue Links

          Activity

            People

              Unassigned Unassigned
              klaasm Mike Klaas
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: