Package com.algolia.model.recommend
Class RecommendationsResults
java.lang.Object
com.algolia.model.recommend.RecommendationsResults
RecommendationsResults
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddHits
(RecommendationsHit hitsItem) boolean
A/B test ID.Variant ID.Computed geographical location.Distance from a central coordinate provided by `aroundLatLng`.Get exhaustiveDeprecated.Deprecated.Deprecated.Facet counts.Statistics for numerical facets.getHits()
Get hitsNumber of hits per page.getIndex()
Index name used for the query.Index name used for the query.Warnings about the query.Number of results (hits).Number of pages of results.Number of hits selected and sorted by the relevant sort algorithm.getPage()
Page of search results to retrieve.Post-[normalization](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/#what-does-normalization-mean) query string that will be searched.Time the server took to process the request, in milliseconds.Experimental.Markup text indicating which parts of the original query have been removed to retrieve a non-empty result set.Unique identifier for the query.Get redirectGet renderingContentTime the server took to process the request, in milliseconds.Host name of the server that processed the request.An object with custom data.int
hashCode()
putFacetsStats
(String key, FacetStats facetsStatsItem) setAbTestID
(Integer abTestID) setAbTestVariantID
(Integer abTestVariantID) setAroundLatLng
(String aroundLatLng) setAutomaticRadius
(String automaticRadius) setExhaustive
(Exhaustive exhaustive) setExhaustiveFacetsCount
(Boolean exhaustiveFacetsCount) setExhaustiveNbHits
(Boolean exhaustiveNbHits) setExhaustiveTypo
(Boolean exhaustiveTypo) setFacetsStats
(Map<String, FacetStats> facetsStats) setHits
(List<RecommendationsHit> hits) setHitsPerPage
(Integer hitsPerPage) setIndexUsed
(String indexUsed) setMessage
(String message) setNbPages
(Integer nbPages) setNbSortedHits
(Integer nbSortedHits) setParsedQuery
(String parsedQuery) setProcessingTimeMS
(Integer processingTimeMS) setProcessingTimingsMS
(Object processingTimingsMS) setQueryAfterRemoval
(String queryAfterRemoval) setQueryID
(String queryID) setRedirect
(Redirect redirect) setRenderingContent
(RenderingContent renderingContent) setServerTimeMS
(Integer serverTimeMS) setServerUsed
(String serverUsed) setUserData
(Object userData) toString()
-
Constructor Details
-
RecommendationsResults
public RecommendationsResults()
-
-
Method Details
-
setAbTestID
-
getAbTestID
A/B test ID. This is only included in the response for indices that are part of an A/B test. -
setAbTestVariantID
-
getAbTestVariantID
Variant ID. This is only included in the response for indices that are part of an A/B test. minimum: 1 -
setAroundLatLng
-
getAroundLatLng
Computed geographical location. -
setAutomaticRadius
-
getAutomaticRadius
Distance from a central coordinate provided by `aroundLatLng`. -
setExhaustive
-
getExhaustive
Get exhaustive -
setExhaustiveFacetsCount
-
getExhaustiveFacetsCount
Deprecated.See the `facetsCount` field of the `exhaustive` object in the response. -
setExhaustiveNbHits
-
getExhaustiveNbHits
Deprecated.See the `nbHits` field of the `exhaustive` object in the response. -
setExhaustiveTypo
-
getExhaustiveTypo
Deprecated.See the `typo` field of the `exhaustive` object in the response. -
setFacets
-
putFacets
-
getFacets
Facet counts. -
setFacetsStats
-
putFacetsStats
-
getFacetsStats
Statistics for numerical facets. -
setIndex
-
getIndex
Index name used for the query. -
setIndexUsed
-
getIndexUsed
Index name used for the query. During A/B testing, the targeted index isn't always the index used by the query. -
setMessage
-
getMessage
Warnings about the query. -
setNbSortedHits
-
getNbSortedHits
Number of hits selected and sorted by the relevant sort algorithm. -
setParsedQuery
-
getParsedQuery
Post-[normalization](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/#what-does-normalization-mean) query string that will be searched. -
setProcessingTimeMS
-
getProcessingTimeMS
Time the server took to process the request, in milliseconds. -
setProcessingTimingsMS
-
getProcessingTimingsMS
Experimental. List of processing steps and their times, in milliseconds. You can use this list to investigate performance issues. -
setQueryAfterRemoval
-
getQueryAfterRemoval
Markup text indicating which parts of the original query have been removed to retrieve a non-empty result set. -
setRedirect
-
getRedirect
Get redirect -
setRenderingContent
-
getRenderingContent
Get renderingContent -
setServerTimeMS
-
getServerTimeMS
Time the server took to process the request, in milliseconds. -
setServerUsed
-
getServerUsed
Host name of the server that processed the request. -
setUserData
-
getUserData
An object with custom data. You can store up to 32kB as custom data. -
setQueryID
-
getQueryID
Unique identifier for the query. This is used for [click analytics](https://www.algolia.com/doc/guides/analytics/click-analytics/). -
setPage
-
getPage
Page of search results to retrieve. minimum: 0 -
setNbHits
-
getNbHits
Number of results (hits). -
setNbPages
-
getNbPages
Number of pages of results. -
setHitsPerPage
-
getHitsPerPage
Number of hits per page. minimum: 1 maximum: 1000 -
setHits
-
addHits
-
getHits
Get hits -
equals
-
hashCode
public int hashCode() -
toString
-