[
https://issues.apache.org/jira/browse/LUCENE-2207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12801363#action_12801363
]
Koji Sekiguchi commented on LUCENE-2207:
----------------------------------------
{quote}
I think instead this should be
final int finalOffset = correctOffset(offset);
{quote}
Agreed, thank you for pointing this!
I think this is ready to commit. Robert, can you do it? And it'd be great if it
could go 2.9 branch so that Solr can use the fix.
> CJKTokenizer generates tokens with incorrect offsets
> ----------------------------------------------------
>
> Key: LUCENE-2207
> URL: https://issues.apache.org/jira/browse/LUCENE-2207
> Project: Lucene - Java
> Issue Type: Bug
> Components: contrib/analyzers
> Reporter: Koji Sekiguchi
> Attachments: LUCENE-2207.patch, LUCENE-2207.patch, LUCENE-2207.patch,
> LUCENE-2207.patch, TestCJKOffset.java
>
>
> If I index a Japanese *multi-valued* document with CJKTokenizer and highlight
> a term with FastVectorHighlighter, the output snippets have incorrect
> highlighted string. I'll attach a program that reproduces the problem soon.
--
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]