Package com.algolia.model.search
Class Hit
java.lang.Object
com.algolia.model.search.Hit
A single hit.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet distinctSeqIDShow highlighted section and words matched on a query.Unique object identifier.Get rankingInfoSnippeted attributes show parts of the matched attributes.inthashCode()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
-
Hit
public Hit()
-
-
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 -
equals
-
hashCode
public int hashCode() -
toString
-