org.apache.lucene.queryParser
Class QueryParserTestBase.QPTestAnalyzer
java.lang.Object
org.apache.lucene.analysis.Analyzer
org.apache.lucene.queryParser.QueryParserTestBase.QPTestAnalyzer
- All Implemented Interfaces:
- Closeable
- Enclosing class:
- QueryParserTestBase
public static final class QueryParserTestBase.QPTestAnalyzer
- extends Analyzer
Filters LowerCaseTokenizer with QPTestFilter.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryParserTestBase.QPTestAnalyzer
public QueryParserTestBase.QPTestAnalyzer()
tokenStream
public final TokenStream tokenStream(String fieldName,
Reader reader)
- Description copied from class:
Analyzer
- Creates a TokenStream which tokenizes all the text in the provided
Reader. Must be able to handle null field name for
backward compatibility.
- Specified by:
tokenStream
in class Analyzer