[ 
https://issues.apache.org/jira/browse/LUCENE-8644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alan Woodward updated LUCENE-8644:
----------------------------------
    Attachment: LUCENE-8644.patch

> Pass token types to QueryBuilder.newSynonymQuery()
> --------------------------------------------------
>
>                 Key: LUCENE-8644
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8644
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Major
>         Attachments: LUCENE-8644.patch, LUCENE-8644.patch
>
>
> SynonymGraphFilter distinguishes between input tokens and tokens that it 
> injects into the token stream by setting the TypeAttribute to SYNONYM.  
> QueryBuilder currently ignores this information, but it would be useful to 
> pass it through to the newSynonymQuery() method, as this would allow 
> queryparsers to apply differential boosts to synonyms and original terms.



--
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

Reply via email to