Class TermVectorEntry.TermVectorPosition

  • Enclosing class:
    TermVectorEntry

    public static final class TermVectorEntry.TermVectorPosition
    extends Object
    Holder for position information for a term vector entry.
    • Method Detail

      • getPosition

        public int getPosition()
        Returns the position for this term in the document field.
      • getStartOffset

        public OptionalInt getStartOffset()
        Returns the start offset for this term in the document field. Empty Optional instance is returned if no offset information available.
      • getEndOffset

        public OptionalInt getEndOffset()
        Returns the end offset for this term in the document field. Empty Optional instance is returned if no offset information available.