lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (LUCENE-324) org.apache.lucene.analysis.cn.ChineseTokenizer missing offset decrement
Date Sun, 04 Dec 2005 23:09:30 GMT
     [ http://issues.apache.org/jira/browse/LUCENE-324?page=all ]
     
Erik Hatcher resolved LUCENE-324:
---------------------------------

    Fix Version: 1.9
     Resolution: Fixed
      Assign To: Erik Hatcher  (was: Lucene Developers)

Ray - 谢谢你  (let's see if JIRA can handle Chinese :)  Sorry for the delay in applying
this patch.

> org.apache.lucene.analysis.cn.ChineseTokenizer missing offset decrement
> -----------------------------------------------------------------------
>
>          Key: LUCENE-324
>          URL: http://issues.apache.org/jira/browse/LUCENE-324
>      Project: Lucene - Java
>         Type: Bug
>   Components: Analysis
>     Versions: unspecified
>  Environment: Operating System: All
> Platform: All
>     Reporter: Ray Tsang
>     Assignee: Erik Hatcher
>     Priority: Trivial
>      Fix For: 1.9
>  Attachments: ChineseTokenizerTest.java, chinese_tokenizer-missing_offset.patch
>
> Apparently, in ChineseTokenizer, offset should be decremented like bufferIndex
> when Character is OTHER_LETTER.  This directly affects startOffset and endOffset
> values.
> This is critical to have Highlighter working correctly because Highlighter marks
> matching text based on these offset values.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


Mime
View raw message