[ 
https://issues.apache.org/jira/browse/LUCENE-8312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16480701#comment-16480701
 ] 

Adrien Grand commented on LUCENE-8312:
--------------------------------------

This is a fair point. I tried to make things better by introducing a new 
{{ImpactsSource}} abstraction that only has the advanceExact and getImpacts 
methods. Does it look better?

> Leverage impacts for SynonymQuery
> ---------------------------------
>
>                 Key: LUCENE-8312
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8312
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Priority: Minor
>         Attachments: LUCENE-8312.patch, LUCENE-8312.patch
>
>
> Now that we expose raw impacts, we could leverage them for synonym queries.
> It would be a matter of summing up term frequencies for each unique norm 
> value.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to