Class EnglishSynonymMapConfig.AuthoritativeOnlyEnglishSynonymMapConfig

java.lang.Object
com.apple.foundationdb.record.lucene.synonym.EnglishSynonymMapConfig
com.apple.foundationdb.record.lucene.synonym.EnglishSynonymMapConfig.AuthoritativeOnlyEnglishSynonymMapConfig
All Implemented Interfaces:
SynonymMapConfig
Enclosing class:
EnglishSynonymMapConfig

@AutoService(SynonymMapConfig.class) public static class EnglishSynonymMapConfig.AuthoritativeOnlyEnglishSynonymMapConfig extends EnglishSynonymMapConfig
Authoritative only synonym map config for English. Looks for a file named wn_s.txt.
  • Field Details

  • Constructor Details

    • AuthoritativeOnlyEnglishSynonymMapConfig

      public AuthoritativeOnlyEnglishSynonymMapConfig()
  • Method Details

    • getName

      public String getName()
      Description copied from interface: SynonymMapConfig
      Get the name of the synonymMap to build.
      Returns:
      the name
    • expand

      public boolean expand()
      Description copied from interface: SynonymMapConfig
      Whether to include all synonyms of the original phrases in the map or only the authoritative one. The SynonymGraphFilter needs to be included in both index and query analyzer if this returns false.
      Returns:
      true if all synonyms are included