org.apache.lucene.search.vectorhighlight
Interface FragListBuilder

All Known Implementing Classes:
SimpleFragListBuilder, SingleFragListBuilder

public interface FragListBuilder

FragListBuilder is an interface for FieldFragList builder classes. A FragListBuilder class can be plugged in to Highlighter.


Method Summary
 FieldFragList createFieldFragList(FieldPhraseList fieldPhraseList, int fragCharSize)
          create a FieldFragList.
 

Method Detail

createFieldFragList

FieldFragList createFieldFragList(FieldPhraseList fieldPhraseList,
                                  int fragCharSize)
create a FieldFragList.

Parameters:
fieldPhraseList - FieldPhraseList object
fragCharSize - the length (number of chars) of a fragment
Returns:
the created FieldFragList object


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.