[ 
https://issues.apache.org/jira/browse/LUCENE-973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720200#action_12720200
 ] 

Michael McCandless commented on LUCENE-973:
-------------------------------------------

Does anyone know if the added recursive call to next() is "bounded"?  Ie, is 
there any way that the next() method could hit length==0 an unbounded number of 
times in a row (for some "unlucky" input text)?  I don't want to run out of 
stack...

> Token of  "" returns in CJKTokenizer + new TestCJKTokenizer
> -----------------------------------------------------------
>
>                 Key: LUCENE-973
>                 URL: https://issues.apache.org/jira/browse/LUCENE-973
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Analysis
>    Affects Versions: 2.3
>            Reporter: Toru Matsuzawa
>            Assignee: Michael McCandless
>            Priority: Minor
>             Fix For: 2.9
>
>         Attachments: CJKTokenizer20070807.patch, LUCENE-973.patch, 
> LUCENE-973.patch, with-patch.jpg, without-patch.jpg
>
>
> The "" string returns as Token in the boundary of two byte character and one 
> byte character. 
> There is no problem in CJKAnalyzer. 
> When CJKTokenizer is used with the unit, it becomes a problem. (Use it with 
> Solr etc.)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to