Class FieldTermStack.TermInfo
java.lang.Object
org.apache.lucene.search.vectorhighlight.FieldTermStack.TermInfo
- All Implemented Interfaces:
Comparable<FieldTermStack.TermInfo>
- Enclosing class:
FieldTermStack
public static class FieldTermStack.TermInfo
extends Object
implements Comparable<FieldTermStack.TermInfo>
Single term with its position/offsets in the document and IDF weight. It is Comparable but
considers only position.
-
Method Details
-
getNext
Returns the next TermInfo at this same position. This is a circular list! -
getText
-
getStartOffset
public int getStartOffset() -
getEndOffset
public int getEndOffset() -
getPosition
public int getPosition() -
getWeight
public float getWeight() -
toString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<FieldTermStack.TermInfo>
-
hashCode
public int hashCode() -
equals
-