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

Michael Sokolov commented on LUCENE-8985:
-----------------------------------------

I looked at the patch - it seems quite a significant change: maybe a good one?! 
I'm not entirely clear what the goal is though - the bug description in this 
issue is pretty light on details. Can we explain here what the current behavior 
of PhraseQuery and other positional queries is w.r.t holes more generally, 
ignoring synonyms, and then how it currently works (is broken) in the presence 
of synonyms? I don't have enough context to review this. I'm willing to help 
out, but I'd need more to go on, and I can't really commit to the 8.4 release 
schedule, sorry [~janhoy]

> SynonymGraphFilter cannot handle input stream with tokens filtered.
> -------------------------------------------------------------------
>
>                 Key: LUCENE-8985
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8985
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Chongchen Chen
>            Assignee: Jan Høydahl
>            Priority: Major
>             Fix For: 8.3
>
>         Attachments: SGF_SF_interaction.patch.txt
>
>          Time Spent: 2h 40m
>  Remaining Estimate: 0h
>
> [~janhoy] find the bug.
> In an analyzer with e.g. stopFilter where tokens are removed from the stream 
> and replaced with a “hole”, synonymgraphfilter will not preserve these holes 
> but remove them, resulting in certain phrase queries failing.



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

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

Reply via email to