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]])

A single hit.

Value parameters

highlightResult

Show highlighted section and words matched on a query.

objectID

Unique object identifier.

snippetResult

Snippeted attributes show parts of the matched attributes. Only returned when attributesToSnippet is non-empty.

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