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

Robert Muir commented on LUCENE-3080:
-------------------------------------

Right, because highlighters are designed for doing a lot of high-level things 
on text to bring out (hopefully good) snippets, e.g. various segmentation and 
fragmenting and whatever they do, I think it would be best if they continued to 
work on char[]. This makes it easier for people to extend the APIs.

I agree with the idea of somehow adding a check or assert to prevent Numerics 
from being highlighted... I don't think it makes sense to highlight 
NumericFields.

> cutover highlighter to BytesRef
> -------------------------------
>
>                 Key: LUCENE-3080
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3080
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: contrib/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