Package com.algolia.model.search
Class BrowseResponse<T>
java.lang.Object
com.algolia.model.search.BrowseResponse<T>
BrowseResponse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
A/B test ID.Variant ID.Computed geographical location.Automatically-computed radius.Cursor indicating the location to resume browsing from.Indicates whether the facet count is exhaustive (exact) or approximate.Indicates whether the number of hits `nbHits` is exhaustive (exact) or approximate.Indicates whether the search for typos was exhaustive (exact) or approximate.Mapping of each facet name to the corresponding 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 hits the search query matched.Number of pages of results for the current query.Number of hits selected and sorted by the relevant sort algorithm.getPage()
Page to retrieve (the first page is `0`, not `1`).URL-encoded string of all search parameters.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.getQuery()
Text to search for in an index.Markup text indicating which parts of the original query have been removed to retrieve a non-empty result set.Get redirectGet renderingContentHost name of the server that processed the request.Lets you store custom data in your indices.int
hashCode()
putFacetsStats
(String key, FacetsStats facetsStatsItem) setAbTestID
(Integer abTestID) setAbTestVariantID
(Integer abTestVariantID) setAroundLatLng
(String aroundLatLng) setAutomaticRadius
(String automaticRadius) setExhaustiveFacetsCount
(Boolean exhaustiveFacetsCount) setExhaustiveNbHits
(Boolean exhaustiveNbHits) setExhaustiveTypo
(Boolean exhaustiveTypo) setFacetsStats
(Map<String, FacetsStats> facetsStats) setHitsPerPage
(Integer hitsPerPage) setIndexUsed
(String indexUsed) setMessage
(String message) setNbPages
(Integer nbPages) setNbSortedHits
(Integer nbSortedHits) setParsedQuery
(String parsedQuery) setProcessingTimeMS
(Integer processingTimeMS) setQueryAfterRemoval
(String queryAfterRemoval) setRedirect
(BaseSearchResponseRedirect redirect) setRenderingContent
(RenderingContent renderingContent) setServerUsed
(String serverUsed) setUserData
(Object userData) toString()
-
Constructor Details
-
BrowseResponse
public BrowseResponse()
-
-
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
Automatically-computed radius. -
setExhaustiveFacetsCount
-
getExhaustiveFacetsCount
Indicates whether the facet count is exhaustive (exact) or approximate. -
setExhaustiveNbHits
-
getExhaustiveNbHits
Indicates whether the number of hits `nbHits` is exhaustive (exact) or approximate. -
setExhaustiveTypo
-
getExhaustiveTypo
Indicates whether the search for typos was exhaustive (exact) or approximate. -
setFacets
-
putFacets
-
getFacets
Mapping of each facet name to the corresponding facet counts. -
setFacetsStats
-
putFacetsStats
-
getFacetsStats
Statistics for numerical facets. -
setHitsPerPage
-
getHitsPerPage
Number of hits per page. minimum: 1 maximum: 1000 -
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. -
setNbHits
-
getNbHits
Number of hits the search query matched. -
setNbPages
-
getNbPages
Number of pages of results for the current query. -
setNbSortedHits
-
getNbSortedHits
Number of hits selected and sorted by the relevant sort algorithm. -
setPage
-
getPage
Page to retrieve (the first page is `0`, not `1`). -
setRedirect
-
getRedirect
Get redirect -
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. -
setQueryAfterRemoval
-
getQueryAfterRemoval
Markup text indicating which parts of the original query have been removed to retrieve a non-empty result set. -
setServerUsed
-
getServerUsed
Host name of the server that processed the request. -
setUserData
-
getUserData
Lets you store custom data in your indices. -
setRenderingContent
-
getRenderingContent
Get renderingContent -
setHits
-
addHits
-
getHits
Get hits -
setQuery
-
getQuery
Text to search for in an index. -
setParams
-
getParams
URL-encoded string of all search parameters. -
setCursor
-
getCursor
Cursor indicating the location to resume browsing from. Must match the value returned by the previous call. Pass this value to the subsequent browse call to get the next page of results. When the end of the index has been reached, `cursor` is absent from the response. -
equals
-
hashCode
public int hashCode() -
toString
-