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
onewaysynonym
s). - 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
andaltcorrection2
).
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article