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-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org