Class DictionaryEntry

java.lang.Object
com.algolia.model.search.DictionaryEntry

public class DictionaryEntry extends Object
Dictionary entry.
  • Constructor Details

    • DictionaryEntry

      public DictionaryEntry()
  • Method Details

    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • setAdditionalProperty

      public DictionaryEntry setAdditionalProperty(String name, Object value)
    • setObjectID

      public DictionaryEntry setObjectID(String objectID)
    • getObjectID

      @Nonnull public String getObjectID()
      Unique identifier for the dictionary entry.
    • setLanguage

      public DictionaryEntry setLanguage(String language)
    • getLanguage

      @Nonnull public String getLanguage()
      ISO code of a [supported language](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages/).
    • setWord

      public DictionaryEntry setWord(String word)
    • getWord

      @Nullable public String getWord()
      Matching dictionary word for `stopwords` and `compounds` dictionaries.
    • setWords

      public DictionaryEntry setWords(List<String> words)
    • addWords

      public DictionaryEntry addWords(String wordsItem)
    • getWords

      @Nullable public List<String> getWords()
      Matching words in the `plurals` dictionary including declensions.
    • setDecomposition

      public DictionaryEntry setDecomposition(List<String> decomposition)
    • addDecomposition

      public DictionaryEntry addDecomposition(String decompositionItem)
    • getDecomposition

      @Nullable public List<String> getDecomposition()
      Invividual components of a compound word in the `compounds` dictionary.
    • setState

      public DictionaryEntry setState(DictionaryEntryState state)
    • getState

      @Nullable public DictionaryEntryState getState()
      Get state
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object