You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "mmatela (via GitHub)" <gi...@apache.org> on 2023/02/17 08:38:06 UTC

[GitHub] [lucene] mmatela commented on issue #12080: SynonymGraphFilter: wrong output token position when input positions overlap

mmatela commented on issue #12080:
URL: https://github.com/apache/lucene/issues/12080#issuecomment-1434301348

   Turns out my initial solution lead to exceptions when a synonym appears at the beginning of the query or there are more tokens after the synonym. After some trial and error, it seems to work correctly with these changes: https://github.com/mmatela/lucene/commit/1d2df64e09cfbc89d42511274530248fe559befb


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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