dungba88 opened a new pull request #2557:
URL: https://github.com/apache/lucene-solr/pull/2557


   # Description
   
   This is a backport of https://github.com/apache/lucene/pull/254
   
   There is an issue which causes an `AssertionError` in the backtrace step of 
`JapaneseTokenizer`. If there is a text span of length 1024 (determined by 
`MAX_BACKTRACE_GAP`) where the regular backtrace is not called, a forced 
backtrace will be applied. If the partially best path at this point happens to 
end at the last pos, and since there is always a final backtrace applied at the 
end, the final backtrace will try to backtrace from and to the same position, 
causing an AssertionError in `RollingCharBuffer.get()` when it tries to 
generate an empty buffer.
   


-- 
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

Reply via email to