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

Mike Sokolov commented on LUCENE-3080:
--------------------------------------

It might be a bit more complicated?  Looks like WordDelimiterFilter, in 
generatePart and concatenate, eg, performs computation with the offsets.  So it 
would either need to know the units of the offsets it was passed, or be given 
more than just a correctOffset() method: rather it seems to require something 
like addCharsToOffset (offset, charOffsetIncr), where charOffsetIncr is a 
number of chars, but offset is in some unspecified unit.

> cutover highlighter to BytesRef
> -------------------------------
>
>                 Key: LUCENE-3080
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3080
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: modules/highlighter
>            Reporter: Michael McCandless
>
> Highlighter still uses char[] terms (consumes tokens from the analyzer as 
> char[] not as BytesRef), which is causing problems for merging SOLR-2497 to 
> trunk.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to