Interface SynonymMapRegistry

All Known Implementing Classes:
SynonymMapRegistryImpl

@API(EXPERIMENTAL) public interface SynonymMapRegistry
Registry for SynonymAnalyzers.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.lucene.analysis.synonym.SynonymMap
    Gets the synonym analyzer of the given set of synonyms.
  • Method Details

    • getSynonymMap

      @Nonnull org.apache.lucene.analysis.synonym.SynonymMap getSynonymMap(@Nonnull String name)
      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