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

Easily create queries that transform subquery scores arbitrarily

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core/search
    • Labels:
      None
    • Lucene Fields:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: