[
https://issues.apache.org/jira/browse/LUCENE-973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steven Rowe updated LUCENE-973:
-------------------------------
Attachment: LUCENE-973.patch
bq. I think that your correction is better.
Cool, the LUCENE-973.patch file incorporates this change - I had to add a
recursion in order to handle this properly.
Also:
#Added a test for a single CJK character stream
#Sync'd with the current trunk (mostly reusable Token changes)
#Cleaned up formatting a little
#Switched token types to be constant ints instead of hard-coded strings
Note that this patch is nice not just because of the bug it fixes, but also
(mainly?) because of the unit tests it adds -- currently CJKTokenizer has no
tests.
> Token of "" returns in CJK
> ---------------------------
>
> 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
> Attachments: CJKTokenizer20070807.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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]