Class FieldFragList.WeightedFragInfo
- java.lang.Object
-
- org.apache.lucene.search.vectorhighlight.FieldFragList.WeightedFragInfo
-
- Enclosing class:
- FieldFragList
public static class FieldFragList.WeightedFragInfo extends java.lang.ObjectList 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, java.util.List<FieldFragList.WeightedFragInfo.SubInfo> subInfos, float totalBoost)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetEndOffset()intgetStartOffset()java.util.List<FieldFragList.WeightedFragInfo.SubInfo>getSubInfos()floatgetTotalBoost()java.lang.StringtoString()
-
-
-
Constructor Detail
-
WeightedFragInfo
public WeightedFragInfo(int startOffset, int endOffset, java.util.List<FieldFragList.WeightedFragInfo.SubInfo> subInfos, float totalBoost)
-
-
Method Detail
-
getSubInfos
public java.util.List<FieldFragList.WeightedFragInfo.SubInfo> getSubInfos()
-
getTotalBoost
public float getTotalBoost()
-
getStartOffset
public int getStartOffset()
-
getEndOffset
public int getEndOffset()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-