You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2021/08/20 14:47:58 UTC

[GitHub] [lucene-solr] dungba88 opened a new pull request #2557: LUCENE-10059: Fix AssertionError in JapaneseTokenizer backtrace

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


[GitHub] [lucene-solr] mikemccand merged pull request #2557: LUCENE-10059: Fix AssertionError in JapaneseTokenizer backtrace

Posted by GitBox <gi...@apache.org>.
mikemccand merged pull request #2557:
URL: https://github.com/apache/lucene-solr/pull/2557


   


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


[GitHub] [lucene-solr] mikemccand commented on pull request #2557: LUCENE-10059: Fix AssertionError in JapaneseTokenizer backtrace

Posted by GitBox <gi...@apache.org>.
mikemccand commented on pull request #2557:
URL: https://github.com/apache/lucene-solr/pull/2557#issuecomment-903661261


   Thanks @dungba88 -- I'll look today.


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