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

Add boosting support in the SynonymQuery

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.1, master (9.0)
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      The SynonymQuery tries to score multiple terms as if you had indexed them as one term.
      This is good for "true" synonyms where each term should have the same contribution to the final score but this doesn't handle the case where terms have different weights. For scoring purpose it would be nice to be able to assign a boost per term that we could multiply with the term's document frequency in order to take into account the importance of the term within the synonym list.

        Attachments

        1. LUCENE-8652.patch
          42 kB
          Jim Ferenczi
        2. LUCENE-8652.patch
          45 kB
          Jim Ferenczi

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jim.ferenczi Jim Ferenczi
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: