Package com.algolia.model.recommend
Class RecommendHit
java.lang.Object
com.algolia.model.recommend.RecommendHit
Recommend hit.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Get distinctSeqIDShow highlighted section and words matched on a query.Unique object identifier.Get rankingInfogetScore()
Recommendation score.Snippeted attributes show parts of the matched attributes.int
hashCode()
putHighlightResult
(String key, HighlightResult highlightResultItem) putSnippetResult
(String key, SnippetResult snippetResultItem) setAdditionalProperty
(String name, Object value) setDistinctSeqID
(Integer distinctSeqID) setHighlightResult
(Map<String, HighlightResult> highlightResult) setObjectID
(String objectID) setRankingInfo
(RankingInfo rankingInfo) setSnippetResult
(Map<String, SnippetResult> snippetResult) toString()
-
Constructor Details
-
RecommendHit
public RecommendHit()
-
-
Method Details
-
getAdditionalProperties
-
setAdditionalProperty
-
setObjectID
-
getObjectID
Unique object identifier. -
setHighlightResult
-
putHighlightResult
-
getHighlightResult
Show highlighted section and words matched on a query. -
setSnippetResult
-
putSnippetResult
-
getSnippetResult
Snippeted attributes show parts of the matched attributes. Only returned when attributesToSnippet is non-empty. -
setRankingInfo
-
getRankingInfo
Get rankingInfo -
setDistinctSeqID
-
getDistinctSeqID
Get distinctSeqID -
setScore
-
getScore
Recommendation score. minimum: 0 maximum: 100 -
equals
-
hashCode
public int hashCode() -
toString
-