lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tran Nam Quang (JIRA)" <>
Subject [jira] [Created] (LUCENE-3007) Fast vector highlighter: Allow access to start/end offsets
Date Wed, 30 Mar 2011 19:06:05 GMT
Fast vector highlighter: Allow access to start/end offsets

                 Key: LUCENE-3007
             Project: Lucene - Java
          Issue Type: Improvement
          Components: contrib/highlighter
            Reporter: Tran Nam Quang
            Priority: Minor

Hello everyone,

Apparently, the fast vector highlighter assumes all of its clients want to highlight HTML.
However, there are some people (like me) who would like to implement highlighting on a text-only
document view, so nothing but the highlighting start/end offsets are needed.

This works quite well with Lucene's standard highlighter. Unfortunately, there seems to be
no officially supported way to access the start/end offsets that are computed by the fast
vector highlighter. More precisely, all the needed information is stored in the linked list, but there's no way to
access it, except using reflection or modifying the highlighter source code.

So my proposal is to provide some methods for accessing this particular field, or any other
means to get the highlighting start/end offsets of the fast vector highlighter. Thanks in

Best regards
Tran Nam Quang

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