[ https://issues.apache.org/jira/browse/LUCENE-8652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16752105#comment-16752105 ]
Adrien Grand commented on LUCENE-8652: -------------------------------------- +1 the approach makes sense to me I'm wondering whether we could wrap impacts of the boosted synonyms to scale term frequencies based on the boost? (as a follow-up, this patch is already a great start in my opinion) > Add boosting support in the SynonymQuery > ---------------------------------------- > > Key: LUCENE-8652 > URL: https://issues.apache.org/jira/browse/LUCENE-8652 > Project: Lucene - Core > Issue Type: Bug > Reporter: Jim Ferenczi > Priority: Minor > Attachments: LUCENE-8652.patch > > > 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. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org