Package com.algolia.model.recommend
Class RecommendHit
java.lang.Object
com.algolia.model.recommend.RecommendHit
- All Implemented Interfaces:
RecommendationsHit
Recommend hit.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.algolia.model.recommend.RecommendationsHit
RecommendationsHit.Deserializer, RecommendationsHit.RecommendHitWrapper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Get distinctSeqIDSurround words that match the query with HTML tags for highlighting.Unique record identifier.Get rankingInfogetScore()
Recommendation score.Snippets that show the context around a matching search query.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 record identifier. -
setHighlightResult
-
putHighlightResult
-
getHighlightResult
Surround words that match the query with HTML tags for highlighting. -
setSnippetResult
-
putSnippetResult
-
getSnippetResult
Snippets that show the context around a matching search query. -
setRankingInfo
-
getRankingInfo
Get rankingInfo -
setDistinctSeqID
-
getDistinctSeqID
Get distinctSeqID -
setScore
-
getScore
Recommendation score. minimum: 0 maximum: 100 -
equals
-
hashCode
public int hashCode() -
toString
-