Class FieldFragList.WeightedFragInfo.SubInfo
- java.lang.Object
-
- org.apache.lucene.search.vectorhighlight.FieldFragList.WeightedFragInfo.SubInfo
-
- Enclosing class:
- FieldFragList.WeightedFragInfo
public static class FieldFragList.WeightedFragInfo.SubInfo extends java.lang.Object
Represents the list of term offsets for some text
-
-
Constructor Summary
Constructors Constructor Description SubInfo(java.lang.String text, java.util.List<FieldPhraseList.WeightedPhraseInfo.Toffs> termsOffsets, int seqnum, float boost)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getBoost()
int
getSeqnum()
java.util.List<FieldPhraseList.WeightedPhraseInfo.Toffs>
getTermsOffsets()
java.lang.String
getText()
java.lang.String
toString()
-
-
-
Constructor Detail
-
SubInfo
public SubInfo(java.lang.String text, java.util.List<FieldPhraseList.WeightedPhraseInfo.Toffs> termsOffsets, int seqnum, float boost)
-
-
Method Detail
-
getTermsOffsets
public java.util.List<FieldPhraseList.WeightedPhraseInfo.Toffs> getTermsOffsets()
-
getSeqnum
public int getSeqnum()
-
getText
public java.lang.String getText()
-
getBoost
public float getBoost()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-