Java 类org.apache.lucene.search.FilteredTermEnum 实例源码

项目:incubator-netbeans    文件:Queries.java   
protected FilteredTermEnum getTermEnum(final @NonNull IndexReader reader) throws IOException {
    return new RegexpTermEnum(reader, fieldName, pattern, startPrefix);
}
项目:incubator-netbeans    文件:Queries.java   
protected FilteredTermEnum getTermEnum(final @NonNull IndexReader reader) throws IOException {
    return new PrefixTermEnum(reader, term);
}
项目:community-edition-old    文件:CaseInsensitiveFieldQuery.java   
@Override
protected FilteredTermEnum getEnum(IndexReader reader) throws IOException
{
    Term term = new Term(getTerm().field(), getTerm().text());
    return new CaseInsensitiveTermEnum(reader, term);
}
项目:community-edition-old    文件:CaseInsensitiveFieldRangeQuery.java   
@Override
protected FilteredTermEnum getEnum(IndexReader reader) throws IOException
{
    return new CaseInsensitiveTermRangeEnum(reader, expandedFieldName, lowerTermText, upperTermText, includeLower, includeUpper);
}
项目:incubator-netbeans    文件:Queries.java   
protected abstract FilteredTermEnum getTermEnum(IndexReader reader) throws IOException;