public interface LuceneNormalizerDefinitionContext
Modifier and Type | Method and Description |
---|---|
LuceneCustomNormalizerDefinitionContext |
custom()
Start a custom normalizer definition,
assigning char filters and token filters to the definition.
|
LuceneAnalysisDefinitionContainerContext |
instance(Analyzer instance)
Assign the given normalizer instance to this normalizer definition.
|
LuceneCustomNormalizerDefinitionContext custom()
LuceneAnalysisDefinitionContainerContext instance(Analyzer instance)
instance
- The normalizer instance.
This instance is expected to never produce more than one token per stream.Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.