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

Koji Sekiguchi commented on LUCENE-2278:
----------------------------------------

getBestFragment() method needs docId and fieldName in order to get a 
TermPositionVector object from IndexReader when trying to make snippets.

FVH could be acceptable an array of String so that it can make snippets from 
String[] outside of Lucene, rather than stored values. But it is out of this 
thread.

> 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