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.
createFieldFragList
FieldFragList createFieldFragList(FieldPhraseList fieldPhraseList,
int fragCharSize)
- create a FieldFragList.
- Parameters:
fieldPhraseList
- FieldPhraseList objectfragCharSize
- the length (number of chars) of a fragment
- Returns:
- the created FieldFragList object
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.