Class WeightedFragListBuilder
- java.lang.Object
 - 
- org.apache.lucene.search.vectorhighlight.BaseFragListBuilder
 - 
- org.apache.lucene.search.vectorhighlight.WeightedFragListBuilder
 
 
 
- 
- All Implemented Interfaces:
 FragListBuilder
public class WeightedFragListBuilder extends BaseFragListBuilder
A weighted implementation ofFragListBuilder. 
- 
- 
Field Summary
- 
Fields inherited from class org.apache.lucene.search.vectorhighlight.BaseFragListBuilder
MARGIN_DEFAULT, MIN_FRAG_CHAR_SIZE_FACTOR 
 - 
 
- 
Constructor Summary
Constructors Constructor Description WeightedFragListBuilder()WeightedFragListBuilder(int margin) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldFragListcreateFieldFragList(FieldPhraseList fieldPhraseList, int fragCharSize)create a FieldFragList. 
 - 
 
- 
- 
Method Detail
- 
createFieldFragList
public FieldFragList createFieldFragList(FieldPhraseList fieldPhraseList, int fragCharSize)
Description copied from interface:FragListBuildercreate a FieldFragList.- Parameters:
 fieldPhraseList- FieldPhraseList objectfragCharSize- the length (number of chars) of a fragment- Returns:
 - the created FieldFragList object
 
 
 - 
 
 -