SynonymHit

algoliasearch.search.SynonymHit
case class SynonymHit(objectID: String, `type`: SynonymType, synonyms: Option[Seq[String]], input: Option[String], word: Option[String], corrections: Option[Seq[String]], placeholder: Option[String], replacements: Option[Seq[String]])

Synonym object.

Value parameters

corrections

Words to be matched in records.

input

Word or phrase to appear in query strings (for onewaysynonyms).

objectID

Unique identifier of a synonym object.

placeholder

Placeholder token to be put inside records.

replacements

Query words that will match the placeholder token.

synonyms

Words or phrases considered equivalent.

word

Word or phrase to appear in query strings (for altcorrection1 and altcorrection2).

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