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

Michael McCandless commented on LUCENE-9966:
--------------------------------------------

Thanks [~Geoffrey Lawson]!  Big +1 to this – it is certainly possible to do 
this, just somewhat tricky as {{SynonymGraphFilter}} would need to buffer up 
incoming tokens in some cases, enough tokens so it could intersect the incoming 
graph with its synonyms and output another graph.

> SynonymGraphFilter cannot consume a graph token stream
> ------------------------------------------------------
>
>                 Key: LUCENE-9966
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9966
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: modules/analysis
>            Reporter: Geoffrey Lawson
>            Priority: Minor
>
> SynonymGraphFilter cannot take a graph token stream as input. This limitation 
> is documented in SynonymGraphFilter. There are multiple tickets reporting 
> this issue with SynonymGraphFilter.
>  LUCENE-8985
>  LUCENE-9123
>  LUCENE-9173
> Some tickets have proposed fixes.
>  LUCENE-5012
>  LUCENE-8985
> From this [email 
> chain|https://lists.apache.org/thread.html/rcef29279940bd8fcc0b6f2165cd25fa8c1230dc4252f6dafbe9bbc6a%40%3Cjava-user.lucene.apache.org%3E]
>  we would like to get SynonymGraphFilter correctly consuming graph token 
> streams



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to