uschindler commented on pull request #1966: URL: https://github.com/apache/lucene-solr/pull/1966#issuecomment-705765924
Read the code if FilteringTokenFilter. It will fix the positions. What you describes is not an issue, as this also affects StopFilter or others. If the first token is removed, FilteringTokenFilter will fix the position increment. Inserting a bullshit token is not needed. There are tons of tests for this. ---------------------------------------------------------------- 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. 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