lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koji Sekiguchi (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-2464) FastVectorHighlighter: add a FragmentBuilder to return entire field contents
Date Tue, 29 Jun 2010 00:58:54 GMT

     [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message