Modifier and Type | Method and Description |
---|---|
static org.apache.lucene.analysis.Analyzer |
AnalyzerUtil.getSynonymAnalyzer(org.apache.lucene.analysis.Analyzer child,
SynonymMap synonyms,
int maxSynonyms)
Returns an analyzer wrapper that wraps the underlying child analyzer's
token stream into a
SynonymTokenFilter . |
Constructor and Description |
---|
SynonymTokenFilter(org.apache.lucene.analysis.TokenStream input,
SynonymMap synonyms,
int maxSynonyms)
Creates an instance for the given underlying stream and synonym table.
|
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.