DictionaryEntry

algoliasearch.search.DictionaryEntry
case class DictionaryEntry(objectID: String, language: String, word: Option[String], words: Option[Seq[String]], decomposition: Option[Seq[String]], state: Option[DictionaryEntryState], additionalProperties: Option[List[JField]])

Dictionary entry.

Value parameters

decomposition

For compound entries, governs the behavior of the word parameter.

language

Supported language ISO code.

objectID

Unique identifier for a dictionary object.

word

Dictionary entry word. Usage depends on the type of dictionary entry. stopwordEntry The stop word you want to add or update. If the entry already exists in Algolia's standard dictionary, you can override its behavior by adding it to the custom dictionary and setting its state to disabled. compoundEntry When decomposition is empty: adds word as a compound atom. For example, atom “kino” decomposes the query “kopfkino” into "kopf" and "kino". When decomposition isn't empty: creates a decomposition exception. For example, when decomposition is set to the ["hund", "hutte"] exception, "hundehutte" decomposes into “hund” and “hutte”, discarding the linking "e".

words

Compound dictionary word declensions. If the entry already exists in Algolia's standard dictionary, you can override its behavior by adding it to the custom dictionary and setting its state to disabled.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product