Class FieldFragList.WeightedFragInfo
- java.lang.Object
-
- org.apache.lucene.search.vectorhighlight.FieldFragList.WeightedFragInfo
-
- Enclosing class:
- FieldFragList
public static class FieldFragList.WeightedFragInfo extends java.lang.Object
List of term offsets + weight for a frag info
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FieldFragList.WeightedFragInfo.SubInfo
Represents 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 int
getEndOffset()
int
getStartOffset()
java.util.List<FieldFragList.WeightedFragInfo.SubInfo>
getSubInfos()
float
getTotalBoost()
java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
-