RecommendHit

algoliasearch.recommend.RecommendHit
case class RecommendHit(objectID: String, highlightResult: Option[Map[String, HighlightResult]], snippetResult: Option[Map[String, SnippetResult]], rankingInfo: Option[RankingInfo], distinctSeqID: Option[Int], score: Double, additionalProperties: Option[List[JField]]) extends RecommendationsHitTrait

Recommend hit.

Value parameters

highlightResult

Show highlighted section and words matched on a query.

objectID

Unique object identifier.

score

Recommendation score.

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