Class RegexTermEnum

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class RegexTermEnum
    extends org.apache.lucene.search.FilteredTermEnum
    Subclass of FilteredTermEnum for enumerating all terms that match the specified regular expression term using the specified regular expression implementation.

    Term enumerations are always ordered by Term.compareTo(). Each term in the enumeration is greater than all that precede it.

    • Constructor Detail

    • Method Detail

      • termCompare

        protected final boolean termCompare​(org.apache.lucene.index.Term term)
        Specified by:
        termCompare in class org.apache.lucene.search.FilteredTermEnum
      • difference

        public final float difference()
        Specified by:
        difference in class org.apache.lucene.search.FilteredTermEnum
      • endEnum

        public final boolean endEnum()
        Specified by:
        endEnum in class org.apache.lucene.search.FilteredTermEnum