lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] [Commented] (LUCENE-3080) cutover highlighter to BytesRef
Date Sat, 07 May 2011 12:46:03 GMT


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:
>             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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message