Hit
algoliasearch.search.Hit
case class Hit(objectID: String, highlightResult: Option[Map[String, HighlightResult]], snippetResult: Option[Map[String, SnippetResult]], rankingInfo: Option[RankingInfo], distinctSeqID: Option[Int], additionalProperties: Option[List[JField]])
Search result. A hit is a record from your index, augmented with special attributes for highlighting, snippeting, and ranking.
Value parameters
- highlightResult
-
Surround words that match the query with HTML tags for highlighting.
- objectID
-
Unique record identifier.
- snippetResult
-
Snippets that show the context around a matching search query.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article