org.apache.lucene.search.vectorhighlight
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>
getText
public String getText()
getStartOffset
public int getStartOffset()
getEndOffset
public int getEndOffset()
getPosition
public int getPosition()
toString
public String toString()
- Overrides:
toString
in class Object
compareTo
public int compareTo(FieldTermStack.TermInfo o)
- Specified by:
compareTo
in interface Comparable<FieldTermStack.TermInfo>