public interface LuceneAnalyzerDefinitionContext extends LuceneAnalysisDefinitionRegistryBuilder
| Modifier and Type | Method and Description |
|---|---|
LuceneAnalyzerDefinitionWithTokenizerContext |
tokenizer(Class<? extends org.apache.lucene.analysis.util.TokenizerFactory> factory)
Set the tokenizer to use.
|
analyzer, normalizerLuceneAnalyzerDefinitionWithTokenizerContext tokenizer(Class<? extends org.apache.lucene.analysis.util.TokenizerFactory> factory)
factory - The factory that will create the tokenizer.Copyright © 2006-2023 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.