org.apache.lucene.search.vectorhighlight
Class FieldPhraseList.WeightedPhraseInfo
java.lang.Object
org.apache.lucene.search.vectorhighlight.FieldPhraseList.WeightedPhraseInfo
- Enclosing class:
- FieldPhraseList
public static class FieldPhraseList.WeightedPhraseInfo
- extends Object
FieldPhraseList.WeightedPhraseInfo
public FieldPhraseList.WeightedPhraseInfo(LinkedList<FieldTermStack.TermInfo> terms,
float boost)
FieldPhraseList.WeightedPhraseInfo
public FieldPhraseList.WeightedPhraseInfo(LinkedList<FieldTermStack.TermInfo> terms,
float boost,
int number)
getStartOffset
public int getStartOffset()
getEndOffset
public int getEndOffset()
isOffsetOverlap
public boolean isOffsetOverlap(FieldPhraseList.WeightedPhraseInfo other)
toString
public String toString()
- Overrides:
toString
in class Object