Interface SynonymMapRegistry
- All Known Implementing Classes:
SynonymMapRegistryImpl
Registry for
SynonymAnalyzers.-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.analysis.synonym.SynonymMapgetSynonymMap(String name) Gets the synonym analyzer of the given set of synonyms.
-
Method Details
-
getSynonymMap
Gets the synonym analyzer of the given set of synonyms.- Parameters:
name- the name of the synonym set- Returns:
- the analyzer over the given set of synonyms
- Throws:
MetaDataException- if no such tokenizer exists
-