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 TypeMethodDescriptionbooleanA/B test ID.Variant ID.Computed geographical location.Automatically-computed radius.Cursor indicating the location to resume browsing from.Get exhaustiveDeprecated.Deprecated.Deprecated.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.Experimental.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 renderingContentTime the server took to process the request, in milliseconds.Host name of the server that processed the request.Lets you store custom data in your indices.inthashCode()putFacetsStats(String key, FacetsStats 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, FacetsStats> facetsStats) 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) setRedirect(Redirect redirect) setRenderingContent(RenderingContent renderingContent) setServerTimeMS(Integer serverTimeMS) 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. -
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
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`). -
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
Lets you store custom data in your indices. -
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
-