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