Class TermMatchesIterator

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int endOffset()
      The ending offset of the current match, or -1 if offsets are not available
      int endPosition()
      The end position of the current match
      Query getQuery()
      Returns the Query causing the current match
      MatchesIterator getSubMatches()
      Returns a MatchesIterator that iterates over the positions and offsets of individual terms within the current match
      boolean next()
      Advance the iterator to the next match position
      int startOffset()
      The starting offset of the current match, or -1 if offsets are not available
      int startPosition()
      The start position of the current match
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait