protected FilteredTermEnum getTermEnum(final @NonNull IndexReader reader) throws IOException { return new RegexpTermEnum(reader, fieldName, pattern, startPrefix); }
protected FilteredTermEnum getTermEnum(final @NonNull IndexReader reader) throws IOException { return new PrefixTermEnum(reader, term); }
@Override protected FilteredTermEnum getEnum(IndexReader reader) throws IOException { Term term = new Term(getTerm().field(), getTerm().text()); return new CaseInsensitiveTermEnum(reader, term); }
@Override protected FilteredTermEnum getEnum(IndexReader reader) throws IOException { return new CaseInsensitiveTermRangeEnum(reader, expandedFieldName, lowerTermText, upperTermText, includeLower, includeUpper); }
protected abstract FilteredTermEnum getTermEnum(IndexReader reader) throws IOException;