Class SynonymMapRegistryImpl

java.lang.Object
com.apple.foundationdb.record.lucene.synonym.SynonymMapRegistryImpl
All Implemented Interfaces:
SynonymMapRegistry

public class SynonymMapRegistryImpl extends Object implements SynonymMapRegistry
Registry for SynonymMaps.
  • Method Details

    • instance

      @Nonnull public static SynonymMapRegistry instance()
    • getSynonymMap

      @Nonnull public org.apache.lucene.analysis.synonym.SynonymMap getSynonymMap(@Nonnull String name)
      Description copied from interface: SynonymMapRegistry
      Gets the synonym analyzer of the given set of synonyms.
      Specified by:
      getSynonymMap in interface SynonymMapRegistry
      Parameters:
      name - the name of the synonym set
      Returns:
      the analyzer over the given set of synonyms