Example usage for Java org.apache.lucene.analysis.miscellaneous PerFieldAnalyzerWrapper fields, constructors, methods, implement or subclass
The text is from its open source code.
PerFieldAnalyzerWrapper(Analyzer defaultAnalyzer, Map Constructs with default analyzer and a map of analyzers to use for specific fields. | |
PerFieldAnalyzerWrapper(Analyzer defaultAnalyzer) Constructs with default analyzer. |
void | close() Frees persistent resources used by this Analyzer |
TokenStream | tokenStream(final String fieldName, final Reader reader) Returns a TokenStream suitable for fieldName , tokenizing the contents of reader . |