Class FieldFragList.WeightedFragInfo
- java.lang.Object
-
- org.apache.lucene.search.vectorhighlight.FieldFragList.WeightedFragInfo
-
- Enclosing class:
- FieldFragList
public static class FieldFragList.WeightedFragInfo extends Object
List of term offsets + weight for a frag info
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFieldFragList.WeightedFragInfo.SubInfoRepresents the list of term offsets for some text
-
Constructor Summary
Constructors Constructor Description WeightedFragInfo(int startOffset, int endOffset, List<FieldFragList.WeightedFragInfo.SubInfo> subInfos, float totalBoost)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetEndOffset()intgetStartOffset()List<FieldFragList.WeightedFragInfo.SubInfo>getSubInfos()floatgetTotalBoost()StringtoString()
-
-
-
Constructor Detail
-
WeightedFragInfo
public WeightedFragInfo(int startOffset, int endOffset, List<FieldFragList.WeightedFragInfo.SubInfo> subInfos, float totalBoost)
-
-
Method Detail
-
getSubInfos
public List<FieldFragList.WeightedFragInfo.SubInfo> getSubInfos()
-
getTotalBoost
public float getTotalBoost()
-
getStartOffset
public int getStartOffset()
-
getEndOffset
public int getEndOffset()
-
-