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

Digy commented on LUCENE-2278:
------------------------------

Besides passing docid+fieldname to FVH, can there be another method that 
accepts the original text to be highlighted?
like:
{code}
        getBestFragment( final FieldQuery fieldQuery, IndexReader reader, 
String originalText, int fragCharSize ) 
{code}
So, the field content can be stored outside of lucene resulting in  a smaller 
index.

DIGY

> FastVectorHighlighter: highlighted term is out of alignment in multi-valued 
> NOT_ANALYZED field
> ----------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-2278
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2278
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/highlighter
>    Affects Versions: 2.9, 2.9.1, 3.0
>            Reporter: Koji Sekiguchi
>            Priority: Minor
>             Fix For: 3.1
>
>         Attachments: LUCENE-2278.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to