[ 
https://issues.apache.org/jira/browse/LUCENE-2464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Koji Sekiguchi updated LUCENE-2464:
-----------------------------------

    Attachment: LUCENE-2464.patch

I implemented SingleFragListBuilder that generates one WeightedFragInfo object. 
Using both this class and SimpleFragmentsBuilder, you can get an entire field 
contents as described in Javadoc.

{code}
FastVectorHighlighter h = new FastVectorHighlighter( true, true,            
  new SingleFragListBuilder(), new SimpleFragmentsBuilder() );              
{code}

SingleFragListBuilder ignores fragCharSize... I think createFieldFragList() 
shouldn't take fragCharSize argument (the necessity of fragCharSize depends on 
FragListBuilder impl). I want to change the interface in the future.

> FastVectorHighlighter: add a FragmentBuilder to return entire field contents
> ----------------------------------------------------------------------------
>
>                 Key: LUCENE-2464
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2464
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: contrib/highlighter
>            Reporter: Koji Sekiguchi
>            Priority: Minor
>         Attachments: LUCENE-2464.patch
>
>
> In Highlightrer, there is a Nullfragmenter. There is a requirement its 
> counterpart in FastVectorhighlighter.

-- 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to