Package com.algolia.api
Class AnalyticsClient
java.lang.Object
com.algolia.ApiClient
com.algolia.api.AnalyticsClient
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionAnalyticsClient(String appId, String apiKey) AnalyticsClient(String appId, String apiKey, ClientOptions options) AnalyticsClient(String appId, String apiKey, String region) AnalyticsClient(String appId, String apiKey, String region, ClientOptions options) -
Method Summary
Modifier and TypeMethodDescriptioncustomDelete(String path) This method allow you to send requests to the Algolia REST API.customDelete(String path, RequestOptions requestOptions) This method allow you to send requests to the Algolia REST API.customDelete(String path, Map<String, Object> parameters) This method allow you to send requests to the Algolia REST API.customDelete(String path, Map<String, Object> parameters, RequestOptions requestOptions) This method allow you to send requests to the Algolia REST API.customDeleteAsync(String path) (asynchronously) This method allow you to send requests to the Algolia REST API.customDeleteAsync(String path, RequestOptions requestOptions) (asynchronously) This method allow you to send requests to the Algolia REST API.customDeleteAsync(String path, Map<String, Object> parameters) (asynchronously) This method allow you to send requests to the Algolia REST API.customDeleteAsync(String path, Map<String, Object> parameters, RequestOptions requestOptions) (asynchronously) This method allow you to send requests to the Algolia REST API.This method allow you to send requests to the Algolia REST API.customGet(String path, RequestOptions requestOptions) This method allow you to send requests to the Algolia REST API.This method allow you to send requests to the Algolia REST API.This method allow you to send requests to the Algolia REST API.customGetAsync(String path) (asynchronously) This method allow you to send requests to the Algolia REST API.customGetAsync(String path, RequestOptions requestOptions) (asynchronously) This method allow you to send requests to the Algolia REST API.customGetAsync(String path, Map<String, Object> parameters) (asynchronously) This method allow you to send requests to the Algolia REST API.customGetAsync(String path, Map<String, Object> parameters, RequestOptions requestOptions) (asynchronously) This method allow you to send requests to the Algolia REST API.customPost(String path) This method allow you to send requests to the Algolia REST API.customPost(String path, RequestOptions requestOptions) This method allow you to send requests to the Algolia REST API.This method allow you to send requests to the Algolia REST API.customPost(String path, Map<String, Object> parameters, Object body, RequestOptions requestOptions) This method allow you to send requests to the Algolia REST API.customPostAsync(String path) (asynchronously) This method allow you to send requests to the Algolia REST API.customPostAsync(String path, RequestOptions requestOptions) (asynchronously) This method allow you to send requests to the Algolia REST API.(asynchronously) This method allow you to send requests to the Algolia REST API.customPostAsync(String path, Map<String, Object> parameters, Object body, RequestOptions requestOptions) (asynchronously) This method allow you to send requests to the Algolia REST API.This method allow you to send requests to the Algolia REST API.customPut(String path, RequestOptions requestOptions) This method allow you to send requests to the Algolia REST API.This method allow you to send requests to the Algolia REST API.This method allow you to send requests to the Algolia REST API.customPutAsync(String path) (asynchronously) This method allow you to send requests to the Algolia REST API.customPutAsync(String path, RequestOptions requestOptions) (asynchronously) This method allow you to send requests to the Algolia REST API.(asynchronously) This method allow you to send requests to the Algolia REST API.customPutAsync(String path, Map<String, Object> parameters, Object body, RequestOptions requestOptions) (asynchronously) This method allow you to send requests to the Algolia REST API.getAverageClickPosition(String index) Return the average click position for the complete time range and for individual days.getAverageClickPosition(String index, RequestOptions requestOptions) Return the average click position for the complete time range and for individual days.getAverageClickPosition(String index, String startDate, String endDate, String tags) Return the average click position for the complete time range and for individual days.getAverageClickPosition(String index, String startDate, String endDate, String tags, RequestOptions requestOptions) Return the average click position for the complete time range and for individual days.(asynchronously) Return the average click position for the complete time range and for individual days.getAverageClickPositionAsync(String index, RequestOptions requestOptions) (asynchronously) Return the average click position for the complete time range and for individual days.getAverageClickPositionAsync(String index, String startDate, String endDate, String tags) (asynchronously) Return the average click position for the complete time range and for individual days.getAverageClickPositionAsync(String index, String startDate, String endDate, String tags, RequestOptions requestOptions) (asynchronously) Return the average click position for the complete time range and for individual days.getClickPositions(String index) Show the number of clicks events and their associated position in the search results.getClickPositions(String index, RequestOptions requestOptions) Show the number of clicks events and their associated position in the search results.getClickPositions(String index, String startDate, String endDate, String tags) Show the number of clicks events and their associated position in the search results.getClickPositions(String index, String startDate, String endDate, String tags, RequestOptions requestOptions) Show the number of clicks events and their associated position in the search results.getClickPositionsAsync(String index) (asynchronously) Show the number of clicks events and their associated position in the search results.getClickPositionsAsync(String index, RequestOptions requestOptions) (asynchronously) Show the number of clicks events and their associated position in the search results.getClickPositionsAsync(String index, String startDate, String endDate, String tags) (asynchronously) Show the number of clicks events and their associated position in the search results.getClickPositionsAsync(String index, String startDate, String endDate, String tags, RequestOptions requestOptions) (asynchronously) Show the number of clicks events and their associated position in the search results.getClickThroughRate(String index) Returns a [click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).getClickThroughRate(String index, RequestOptions requestOptions) Returns a [click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).getClickThroughRate(String index, String startDate, String endDate, String tags) Returns a [click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).getClickThroughRate(String index, String startDate, String endDate, String tags, RequestOptions requestOptions) Returns a [click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).getClickThroughRateAsync(String index) (asynchronously) Returns a [click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).getClickThroughRateAsync(String index, RequestOptions requestOptions) (asynchronously) Returns a [click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).getClickThroughRateAsync(String index, String startDate, String endDate, String tags) (asynchronously) Returns a [click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).getClickThroughRateAsync(String index, String startDate, String endDate, String tags, RequestOptions requestOptions) (asynchronously) Returns a [click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).getConversationRate(String index) Return a [conversion rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#conversion-rate).getConversationRate(String index, RequestOptions requestOptions) Return a [conversion rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#conversion-rate).getConversationRate(String index, String startDate, String endDate, String tags) Return a [conversion rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#conversion-rate).getConversationRate(String index, String startDate, String endDate, String tags, RequestOptions requestOptions) Return a [conversion rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#conversion-rate).getConversationRateAsync(String index) (asynchronously) Return a [conversion rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#conversion-rate).getConversationRateAsync(String index, RequestOptions requestOptions) (asynchronously) Return a [conversion rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#conversion-rate).getConversationRateAsync(String index, String startDate, String endDate, String tags) (asynchronously) Return a [conversion rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#conversion-rate).getConversationRateAsync(String index, String startDate, String endDate, String tags, RequestOptions requestOptions) (asynchronously) Return a [conversion rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#conversion-rate).getNoClickRate(String index) Returns the rate at which searches don't lead to any clicks.getNoClickRate(String index, RequestOptions requestOptions) Returns the rate at which searches don't lead to any clicks.getNoClickRate(String index, String startDate, String endDate, String tags) Returns the rate at which searches don't lead to any clicks.getNoClickRate(String index, String startDate, String endDate, String tags, RequestOptions requestOptions) Returns the rate at which searches don't lead to any clicks.getNoClickRateAsync(String index) (asynchronously) Returns the rate at which searches don't lead to any clicks.getNoClickRateAsync(String index, RequestOptions requestOptions) (asynchronously) Returns the rate at which searches don't lead to any clicks.getNoClickRateAsync(String index, String startDate, String endDate, String tags) (asynchronously) Returns the rate at which searches don't lead to any clicks.getNoClickRateAsync(String index, String startDate, String endDate, String tags, RequestOptions requestOptions) (asynchronously) Returns the rate at which searches don't lead to any clicks.getNoResultsRate(String index) Returns the rate at which searches didn't return any results.getNoResultsRate(String index, RequestOptions requestOptions) Returns the rate at which searches didn't return any results.getNoResultsRate(String index, String startDate, String endDate, String tags) Returns the rate at which searches didn't return any results.getNoResultsRate(String index, String startDate, String endDate, String tags, RequestOptions requestOptions) Returns the rate at which searches didn't return any results.getNoResultsRateAsync(String index) (asynchronously) Returns the rate at which searches didn't return any results.getNoResultsRateAsync(String index, RequestOptions requestOptions) (asynchronously) Returns the rate at which searches didn't return any results.getNoResultsRateAsync(String index, String startDate, String endDate, String tags) (asynchronously) Returns the rate at which searches didn't return any results.getNoResultsRateAsync(String index, String startDate, String endDate, String tags, RequestOptions requestOptions) (asynchronously) Returns the rate at which searches didn't return any results.getSearchesCount(String index) Returns the number of searches within a time range.getSearchesCount(String index, RequestOptions requestOptions) Returns the number of searches within a time range.getSearchesCount(String index, String startDate, String endDate, String tags) Returns the number of searches within a time range.getSearchesCount(String index, String startDate, String endDate, String tags, RequestOptions requestOptions) Returns the number of searches within a time range.getSearchesCountAsync(String index) (asynchronously) Returns the number of searches within a time range.getSearchesCountAsync(String index, RequestOptions requestOptions) (asynchronously) Returns the number of searches within a time range.getSearchesCountAsync(String index, String startDate, String endDate, String tags) (asynchronously) Returns the number of searches within a time range.getSearchesCountAsync(String index, String startDate, String endDate, String tags, RequestOptions requestOptions) (asynchronously) Returns the number of searches within a time range.getSearchesNoClicks(String index) Return the most popular of the last 1,000 searches that didn't lead to any clicks.getSearchesNoClicks(String index, RequestOptions requestOptions) Return the most popular of the last 1,000 searches that didn't lead to any clicks.getSearchesNoClicks(String index, String startDate, String endDate, Integer limit, Integer offset, String tags) Return the most popular of the last 1,000 searches that didn't lead to any clicks.getSearchesNoClicks(String index, String startDate, String endDate, Integer limit, Integer offset, String tags, RequestOptions requestOptions) Return the most popular of the last 1,000 searches that didn't lead to any clicks.getSearchesNoClicksAsync(String index) (asynchronously) Return the most popular of the last 1,000 searches that didn't lead to any clicks.getSearchesNoClicksAsync(String index, RequestOptions requestOptions) (asynchronously) Return the most popular of the last 1,000 searches that didn't lead to any clicks.getSearchesNoClicksAsync(String index, String startDate, String endDate, Integer limit, Integer offset, String tags) (asynchronously) Return the most popular of the last 1,000 searches that didn't lead to any clicks.getSearchesNoClicksAsync(String index, String startDate, String endDate, Integer limit, Integer offset, String tags, RequestOptions requestOptions) (asynchronously) Return the most popular of the last 1,000 searches that didn't lead to any clicks.getSearchesNoResults(String index) Returns the most popular of the latest 1,000 searches that didn't return any results.getSearchesNoResults(String index, RequestOptions requestOptions) Returns the most popular of the latest 1,000 searches that didn't return any results.getSearchesNoResults(String index, String startDate, String endDate, Integer limit, Integer offset, String tags) Returns the most popular of the latest 1,000 searches that didn't return any results.getSearchesNoResults(String index, String startDate, String endDate, Integer limit, Integer offset, String tags, RequestOptions requestOptions) Returns the most popular of the latest 1,000 searches that didn't return any results.getSearchesNoResultsAsync(String index) (asynchronously) Returns the most popular of the latest 1,000 searches that didn't return any results.getSearchesNoResultsAsync(String index, RequestOptions requestOptions) (asynchronously) Returns the most popular of the latest 1,000 searches that didn't return any results.getSearchesNoResultsAsync(String index, String startDate, String endDate, Integer limit, Integer offset, String tags) (asynchronously) Returns the most popular of the latest 1,000 searches that didn't return any results.getSearchesNoResultsAsync(String index, String startDate, String endDate, Integer limit, Integer offset, String tags, RequestOptions requestOptions) (asynchronously) Returns the most popular of the latest 1,000 searches that didn't return any results.Return the latest update time of the Analytics API for an index.getStatus(String index, RequestOptions requestOptions) Return the latest update time of the Analytics API for an index.getStatusAsync(String index) (asynchronously) Return the latest update time of the Analytics API for an index.getStatusAsync(String index, RequestOptions requestOptions) (asynchronously) Return the latest update time of the Analytics API for an index.getTopCountries(String index) Returns top countries.getTopCountries(String index, RequestOptions requestOptions) Returns top countries.getTopCountries(String index, String startDate, String endDate, Integer limit, Integer offset, String tags) Returns top countries.getTopCountries(String index, String startDate, String endDate, Integer limit, Integer offset, String tags, RequestOptions requestOptions) Returns top countries.getTopCountriesAsync(String index) (asynchronously) Returns top countries.getTopCountriesAsync(String index, RequestOptions requestOptions) (asynchronously) Returns top countries.getTopCountriesAsync(String index, String startDate, String endDate, Integer limit, Integer offset, String tags) (asynchronously) Returns top countries.getTopCountriesAsync(String index, String startDate, String endDate, Integer limit, Integer offset, String tags, RequestOptions requestOptions) (asynchronously) Returns top countries.getTopFilterAttributes(String index) Return the most popular [filterable attributes](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/) in the 1,000 most recently used filters.getTopFilterAttributes(String index, RequestOptions requestOptions) Return the most popular [filterable attributes](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/) in the 1,000 most recently used filters.getTopFilterAttributes(String index, String search, String startDate, String endDate, Integer limit, Integer offset, String tags) Return the most popular [filterable attributes](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/) in the 1,000 most recently used filters.getTopFilterAttributes(String index, String search, String startDate, String endDate, Integer limit, Integer offset, String tags, RequestOptions requestOptions) Return the most popular [filterable attributes](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/) in the 1,000 most recently used filters.(asynchronously) Return the most popular [filterable attributes](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/) in the 1,000 most recently used filters.getTopFilterAttributesAsync(String index, RequestOptions requestOptions) (asynchronously) Return the most popular [filterable attributes](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/) in the 1,000 most recently used filters.getTopFilterAttributesAsync(String index, String search, String startDate, String endDate, Integer limit, Integer offset, String tags) (asynchronously) Return the most popular [filterable attributes](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/) in the 1,000 most recently used filters.getTopFilterAttributesAsync(String index, String search, String startDate, String endDate, Integer limit, Integer offset, String tags, RequestOptions requestOptions) (asynchronously) Return the most popular [filterable attributes](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/) in the 1,000 most recently used filters.getTopFilterForAttribute(String attribute, String index) Returns the most popular filter values for an attribute in the 1,000 most recently used filters.getTopFilterForAttribute(String attribute, String index, RequestOptions requestOptions) Returns the most popular filter values for an attribute in the 1,000 most recently used filters.getTopFilterForAttribute(String attribute, String index, String search, String startDate, String endDate, Integer limit, Integer offset, String tags) Returns the most popular filter values for an attribute in the 1,000 most recently used filters.getTopFilterForAttribute(String attribute, String index, String search, String startDate, String endDate, Integer limit, Integer offset, String tags, RequestOptions requestOptions) Returns the most popular filter values for an attribute in the 1,000 most recently used filters.getTopFilterForAttributeAsync(String attribute, String index) (asynchronously) Returns the most popular filter values for an attribute in the 1,000 most recently used filters.getTopFilterForAttributeAsync(String attribute, String index, RequestOptions requestOptions) (asynchronously) Returns the most popular filter values for an attribute in the 1,000 most recently used filters.getTopFilterForAttributeAsync(String attribute, String index, String search, String startDate, String endDate, Integer limit, Integer offset, String tags) (asynchronously) Returns the most popular filter values for an attribute in the 1,000 most recently used filters.getTopFilterForAttributeAsync(String attribute, String index, String search, String startDate, String endDate, Integer limit, Integer offset, String tags, RequestOptions requestOptions) (asynchronously) Returns the most popular filter values for an attribute in the 1,000 most recently used filters.getTopFiltersNoResults(String index) Returns top filters for filter-enabled searches that don't return results.getTopFiltersNoResults(String index, RequestOptions requestOptions) Returns top filters for filter-enabled searches that don't return results.getTopFiltersNoResults(String index, String search, String startDate, String endDate, Integer limit, Integer offset, String tags) Returns top filters for filter-enabled searches that don't return results.getTopFiltersNoResults(String index, String search, String startDate, String endDate, Integer limit, Integer offset, String tags, RequestOptions requestOptions) Returns top filters for filter-enabled searches that don't return results.(asynchronously) Returns top filters for filter-enabled searches that don't return results.getTopFiltersNoResultsAsync(String index, RequestOptions requestOptions) (asynchronously) Returns top filters for filter-enabled searches that don't return results.getTopFiltersNoResultsAsync(String index, String search, String startDate, String endDate, Integer limit, Integer offset, String tags) (asynchronously) Returns top filters for filter-enabled searches that don't return results.getTopFiltersNoResultsAsync(String index, String search, String startDate, String endDate, Integer limit, Integer offset, String tags, RequestOptions requestOptions) (asynchronously) Returns top filters for filter-enabled searches that don't return results.getTopHits(String index) Return the most popular clicked results in the last 1,000 searches.getTopHits(String index, RequestOptions requestOptions) Return the most popular clicked results in the last 1,000 searches.getTopHits(String index, String search, Boolean clickAnalytics, String startDate, String endDate, Integer limit, Integer offset, String tags) Return the most popular clicked results in the last 1,000 searches.getTopHits(String index, String search, Boolean clickAnalytics, String startDate, String endDate, Integer limit, Integer offset, String tags, RequestOptions requestOptions) Return the most popular clicked results in the last 1,000 searches.getTopHitsAsync(String index) (asynchronously) Return the most popular clicked results in the last 1,000 searches.getTopHitsAsync(String index, RequestOptions requestOptions) (asynchronously) Return the most popular clicked results in the last 1,000 searches.getTopHitsAsync(String index, String search, Boolean clickAnalytics, String startDate, String endDate, Integer limit, Integer offset, String tags) (asynchronously) Return the most popular clicked results in the last 1,000 searches.getTopHitsAsync(String index, String search, Boolean clickAnalytics, String startDate, String endDate, Integer limit, Integer offset, String tags, RequestOptions requestOptions) (asynchronously) Return the most popular clicked results in the last 1,000 searches.getTopSearches(String index) Returns the most popular of the latest 1,000 searches.getTopSearches(String index, RequestOptions requestOptions) Returns the most popular of the latest 1,000 searches.getTopSearches(String index, Boolean clickAnalytics, String startDate, String endDate, OrderBy orderBy, Direction direction, Integer limit, Integer offset, String tags) Returns the most popular of the latest 1,000 searches.getTopSearches(String index, Boolean clickAnalytics, String startDate, String endDate, OrderBy orderBy, Direction direction, Integer limit, Integer offset, String tags, RequestOptions requestOptions) Returns the most popular of the latest 1,000 searches.getTopSearchesAsync(String index) (asynchronously) Returns the most popular of the latest 1,000 searches.getTopSearchesAsync(String index, RequestOptions requestOptions) (asynchronously) Returns the most popular of the latest 1,000 searches.getTopSearchesAsync(String index, Boolean clickAnalytics, String startDate, String endDate, OrderBy orderBy, Direction direction, Integer limit, Integer offset, String tags) (asynchronously) Returns the most popular of the latest 1,000 searches.getTopSearchesAsync(String index, Boolean clickAnalytics, String startDate, String endDate, OrderBy orderBy, Direction direction, Integer limit, Integer offset, String tags, RequestOptions requestOptions) (asynchronously) Returns the most popular of the latest 1,000 searches.getUsersCount(String index) Return the count of unique users.getUsersCount(String index, RequestOptions requestOptions) Return the count of unique users.getUsersCount(String index, String startDate, String endDate, String tags) Return the count of unique users.getUsersCount(String index, String startDate, String endDate, String tags, RequestOptions requestOptions) Return the count of unique users.getUsersCountAsync(String index) (asynchronously) Return the count of unique users.getUsersCountAsync(String index, RequestOptions requestOptions) (asynchronously) Return the count of unique users.getUsersCountAsync(String index, String startDate, String endDate, String tags) (asynchronously) Return the count of unique users.getUsersCountAsync(String index, String startDate, String endDate, String tags, RequestOptions requestOptions) (asynchronously) Return the count of unique users.Methods inherited from class com.algolia.ApiClient
close, executeAsync, executeAsync
-
Constructor Details
-
AnalyticsClient
-
AnalyticsClient
-
AnalyticsClient
-
AnalyticsClient
-
-
Method Details
-
customDelete
public Object customDelete(@Nonnull String path, Map<String, Object> parameters, RequestOptions requestOptions) throws AlgoliaRuntimeExceptionThis method allow you to send requests to the Algolia REST API.- Parameters:
path- Path of the endpoint, anything after \"/1\" must be specified. (required)parameters- Query parameters to apply to the current query. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
customDelete
public Object customDelete(@Nonnull String path, Map<String, Object> parameters) throws AlgoliaRuntimeExceptionThis method allow you to send requests to the Algolia REST API.- Parameters:
path- Path of the endpoint, anything after \"/1\" must be specified. (required)parameters- Query parameters to apply to the current query. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
customDelete
public Object customDelete(@Nonnull String path, RequestOptions requestOptions) throws AlgoliaRuntimeException This method allow you to send requests to the Algolia REST API.- Parameters:
path- Path of the endpoint, anything after \"/1\" must be specified. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
customDelete
This method allow you to send requests to the Algolia REST API.- Parameters:
path- Path of the endpoint, anything after \"/1\" must be specified. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
customDeleteAsync
public CompletableFuture<Object> customDeleteAsync(@Nonnull String path, Map<String, Object> parameters, RequestOptions requestOptions) throws AlgoliaRuntimeException(asynchronously) This method allow you to send requests to the Algolia REST API.- Parameters:
path- Path of the endpoint, anything after \"/1\" must be specified. (required)parameters- Query parameters to apply to the current query. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
customDeleteAsync
public CompletableFuture<Object> customDeleteAsync(@Nonnull String path, Map<String, Object> parameters) throws AlgoliaRuntimeException(asynchronously) This method allow you to send requests to the Algolia REST API.- Parameters:
path- Path of the endpoint, anything after \"/1\" must be specified. (required)parameters- Query parameters to apply to the current query. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
customDeleteAsync
public CompletableFuture<Object> customDeleteAsync(@Nonnull String path, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) This method allow you to send requests to the Algolia REST API.- Parameters:
path- Path of the endpoint, anything after \"/1\" must be specified. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
customDeleteAsync
public CompletableFuture<Object> customDeleteAsync(@Nonnull String path) throws AlgoliaRuntimeException (asynchronously) This method allow you to send requests to the Algolia REST API.- Parameters:
path- Path of the endpoint, anything after \"/1\" must be specified. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
customGet
public Object customGet(@Nonnull String path, Map<String, Object> parameters, RequestOptions requestOptions) throws AlgoliaRuntimeExceptionThis method allow you to send requests to the Algolia REST API.- Parameters:
path- Path of the endpoint, anything after \"/1\" must be specified. (required)parameters- Query parameters to apply to the current query. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
customGet
public Object customGet(@Nonnull String path, Map<String, Object> parameters) throws AlgoliaRuntimeExceptionThis method allow you to send requests to the Algolia REST API.- Parameters:
path- Path of the endpoint, anything after \"/1\" must be specified. (required)parameters- Query parameters to apply to the current query. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
customGet
public Object customGet(@Nonnull String path, RequestOptions requestOptions) throws AlgoliaRuntimeException This method allow you to send requests to the Algolia REST API.- Parameters:
path- Path of the endpoint, anything after \"/1\" must be specified. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
customGet
This method allow you to send requests to the Algolia REST API.- Parameters:
path- Path of the endpoint, anything after \"/1\" must be specified. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
customGetAsync
public CompletableFuture<Object> customGetAsync(@Nonnull String path, Map<String, Object> parameters, RequestOptions requestOptions) throws AlgoliaRuntimeException(asynchronously) This method allow you to send requests to the Algolia REST API.- Parameters:
path- Path of the endpoint, anything after \"/1\" must be specified. (required)parameters- Query parameters to apply to the current query. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
customGetAsync
public CompletableFuture<Object> customGetAsync(@Nonnull String path, Map<String, Object> parameters) throws AlgoliaRuntimeException(asynchronously) This method allow you to send requests to the Algolia REST API.- Parameters:
path- Path of the endpoint, anything after \"/1\" must be specified. (required)parameters- Query parameters to apply to the current query. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
customGetAsync
public CompletableFuture<Object> customGetAsync(@Nonnull String path, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) This method allow you to send requests to the Algolia REST API.- Parameters:
path- Path of the endpoint, anything after \"/1\" must be specified. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
customGetAsync
public CompletableFuture<Object> customGetAsync(@Nonnull String path) throws AlgoliaRuntimeException (asynchronously) This method allow you to send requests to the Algolia REST API.- Parameters:
path- Path of the endpoint, anything after \"/1\" must be specified. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
customPost
public Object customPost(@Nonnull String path, Map<String, Object> parameters, Object body, RequestOptions requestOptions) throws AlgoliaRuntimeExceptionThis method allow you to send requests to the Algolia REST API.- Parameters:
path- Path of the endpoint, anything after \"/1\" must be specified. (required)parameters- Query parameters to apply to the current query. (optional)body- Parameters to send with the custom request. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
customPost
public Object customPost(@Nonnull String path, Map<String, Object> parameters, Object body) throws AlgoliaRuntimeExceptionThis method allow you to send requests to the Algolia REST API.- Parameters:
path- Path of the endpoint, anything after \"/1\" must be specified. (required)parameters- Query parameters to apply to the current query. (optional)body- Parameters to send with the custom request. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
customPost
public Object customPost(@Nonnull String path, RequestOptions requestOptions) throws AlgoliaRuntimeException This method allow you to send requests to the Algolia REST API.- Parameters:
path- Path of the endpoint, anything after \"/1\" must be specified. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
customPost
This method allow you to send requests to the Algolia REST API.- Parameters:
path- Path of the endpoint, anything after \"/1\" must be specified. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
customPostAsync
public CompletableFuture<Object> customPostAsync(@Nonnull String path, Map<String, Object> parameters, Object body, RequestOptions requestOptions) throws AlgoliaRuntimeException(asynchronously) This method allow you to send requests to the Algolia REST API.- Parameters:
path- Path of the endpoint, anything after \"/1\" must be specified. (required)parameters- Query parameters to apply to the current query. (optional)body- Parameters to send with the custom request. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
customPostAsync
public CompletableFuture<Object> customPostAsync(@Nonnull String path, Map<String, Object> parameters, Object body) throws AlgoliaRuntimeException(asynchronously) This method allow you to send requests to the Algolia REST API.- Parameters:
path- Path of the endpoint, anything after \"/1\" must be specified. (required)parameters- Query parameters to apply to the current query. (optional)body- Parameters to send with the custom request. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
customPostAsync
public CompletableFuture<Object> customPostAsync(@Nonnull String path, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) This method allow you to send requests to the Algolia REST API.- Parameters:
path- Path of the endpoint, anything after \"/1\" must be specified. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
customPostAsync
public CompletableFuture<Object> customPostAsync(@Nonnull String path) throws AlgoliaRuntimeException (asynchronously) This method allow you to send requests to the Algolia REST API.- Parameters:
path- Path of the endpoint, anything after \"/1\" must be specified. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
customPut
public Object customPut(@Nonnull String path, Map<String, Object> parameters, Object body, RequestOptions requestOptions) throws AlgoliaRuntimeExceptionThis method allow you to send requests to the Algolia REST API.- Parameters:
path- Path of the endpoint, anything after \"/1\" must be specified. (required)parameters- Query parameters to apply to the current query. (optional)body- Parameters to send with the custom request. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
customPut
public Object customPut(@Nonnull String path, Map<String, Object> parameters, Object body) throws AlgoliaRuntimeExceptionThis method allow you to send requests to the Algolia REST API.- Parameters:
path- Path of the endpoint, anything after \"/1\" must be specified. (required)parameters- Query parameters to apply to the current query. (optional)body- Parameters to send with the custom request. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
customPut
public Object customPut(@Nonnull String path, RequestOptions requestOptions) throws AlgoliaRuntimeException This method allow you to send requests to the Algolia REST API.- Parameters:
path- Path of the endpoint, anything after \"/1\" must be specified. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
customPut
This method allow you to send requests to the Algolia REST API.- Parameters:
path- Path of the endpoint, anything after \"/1\" must be specified. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
customPutAsync
public CompletableFuture<Object> customPutAsync(@Nonnull String path, Map<String, Object> parameters, Object body, RequestOptions requestOptions) throws AlgoliaRuntimeException(asynchronously) This method allow you to send requests to the Algolia REST API.- Parameters:
path- Path of the endpoint, anything after \"/1\" must be specified. (required)parameters- Query parameters to apply to the current query. (optional)body- Parameters to send with the custom request. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
customPutAsync
public CompletableFuture<Object> customPutAsync(@Nonnull String path, Map<String, Object> parameters, Object body) throws AlgoliaRuntimeException(asynchronously) This method allow you to send requests to the Algolia REST API.- Parameters:
path- Path of the endpoint, anything after \"/1\" must be specified. (required)parameters- Query parameters to apply to the current query. (optional)body- Parameters to send with the custom request. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
customPutAsync
public CompletableFuture<Object> customPutAsync(@Nonnull String path, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) This method allow you to send requests to the Algolia REST API.- Parameters:
path- Path of the endpoint, anything after \"/1\" must be specified. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
customPutAsync
public CompletableFuture<Object> customPutAsync(@Nonnull String path) throws AlgoliaRuntimeException (asynchronously) This method allow you to send requests to the Algolia REST API.- Parameters:
path- Path of the endpoint, anything after \"/1\" must be specified. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getAverageClickPosition
public GetAverageClickPositionResponse getAverageClickPosition(@Nonnull String index, String startDate, String endDate, String tags, RequestOptions requestOptions) throws AlgoliaRuntimeException Return the average click position for the complete time range and for individual days. > **Note**: If all `positions` have a `clickCount` of `0` or `null`, it means Algolia didn't receive any click events for tracked searches. A _tracked_ search is a search request where the `clickAnalytics` parameter is `true`.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getAverageClickPosition
public GetAverageClickPositionResponse getAverageClickPosition(@Nonnull String index, String startDate, String endDate, String tags) throws AlgoliaRuntimeException Return the average click position for the complete time range and for individual days. > **Note**: If all `positions` have a `clickCount` of `0` or `null`, it means Algolia didn't receive any click events for tracked searches. A _tracked_ search is a search request where the `clickAnalytics` parameter is `true`.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getAverageClickPosition
public GetAverageClickPositionResponse getAverageClickPosition(@Nonnull String index, RequestOptions requestOptions) throws AlgoliaRuntimeException Return the average click position for the complete time range and for individual days. > **Note**: If all `positions` have a `clickCount` of `0` or `null`, it means Algolia didn't receive any click events for tracked searches. A _tracked_ search is a search request where the `clickAnalytics` parameter is `true`.- Parameters:
index- Index name to target. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getAverageClickPosition
public GetAverageClickPositionResponse getAverageClickPosition(@Nonnull String index) throws AlgoliaRuntimeException Return the average click position for the complete time range and for individual days. > **Note**: If all `positions` have a `clickCount` of `0` or `null`, it means Algolia didn't receive any click events for tracked searches. A _tracked_ search is a search request where the `clickAnalytics` parameter is `true`.- Parameters:
index- Index name to target. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getAverageClickPositionAsync
public CompletableFuture<GetAverageClickPositionResponse> getAverageClickPositionAsync(@Nonnull String index, String startDate, String endDate, String tags, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) Return the average click position for the complete time range and for individual days. > **Note**: If all `positions` have a `clickCount` of `0` or `null`, it means Algolia didn't receive any click events for tracked searches. A _tracked_ search is a search request where the `clickAnalytics` parameter is `true`.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getAverageClickPositionAsync
public CompletableFuture<GetAverageClickPositionResponse> getAverageClickPositionAsync(@Nonnull String index, String startDate, String endDate, String tags) throws AlgoliaRuntimeException (asynchronously) Return the average click position for the complete time range and for individual days. > **Note**: If all `positions` have a `clickCount` of `0` or `null`, it means Algolia didn't receive any click events for tracked searches. A _tracked_ search is a search request where the `clickAnalytics` parameter is `true`.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getAverageClickPositionAsync
public CompletableFuture<GetAverageClickPositionResponse> getAverageClickPositionAsync(@Nonnull String index, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) Return the average click position for the complete time range and for individual days. > **Note**: If all `positions` have a `clickCount` of `0` or `null`, it means Algolia didn't receive any click events for tracked searches. A _tracked_ search is a search request where the `clickAnalytics` parameter is `true`.- Parameters:
index- Index name to target. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getAverageClickPositionAsync
public CompletableFuture<GetAverageClickPositionResponse> getAverageClickPositionAsync(@Nonnull String index) throws AlgoliaRuntimeException (asynchronously) Return the average click position for the complete time range and for individual days. > **Note**: If all `positions` have a `clickCount` of `0` or `null`, it means Algolia didn't receive any click events for tracked searches. A _tracked_ search is a search request where the `clickAnalytics` parameter is `true`.- Parameters:
index- Index name to target. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getClickPositions
public GetClickPositionsResponse getClickPositions(@Nonnull String index, String startDate, String endDate, String tags, RequestOptions requestOptions) throws AlgoliaRuntimeException Show the number of clicks events and their associated position in the search results. > **Note**: If all `positions` have a `clickCount` of `0` or `null`, it means Algolia didn't receive any click events for tracked searches. A _tracked_ search is a search request where the `clickAnalytics` parameter is `true`.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getClickPositions
public GetClickPositionsResponse getClickPositions(@Nonnull String index, String startDate, String endDate, String tags) throws AlgoliaRuntimeException Show the number of clicks events and their associated position in the search results. > **Note**: If all `positions` have a `clickCount` of `0` or `null`, it means Algolia didn't receive any click events for tracked searches. A _tracked_ search is a search request where the `clickAnalytics` parameter is `true`.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getClickPositions
public GetClickPositionsResponse getClickPositions(@Nonnull String index, RequestOptions requestOptions) throws AlgoliaRuntimeException Show the number of clicks events and their associated position in the search results. > **Note**: If all `positions` have a `clickCount` of `0` or `null`, it means Algolia didn't receive any click events for tracked searches. A _tracked_ search is a search request where the `clickAnalytics` parameter is `true`.- Parameters:
index- Index name to target. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getClickPositions
public GetClickPositionsResponse getClickPositions(@Nonnull String index) throws AlgoliaRuntimeException Show the number of clicks events and their associated position in the search results. > **Note**: If all `positions` have a `clickCount` of `0` or `null`, it means Algolia didn't receive any click events for tracked searches. A _tracked_ search is a search request where the `clickAnalytics` parameter is `true`.- Parameters:
index- Index name to target. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getClickPositionsAsync
public CompletableFuture<GetClickPositionsResponse> getClickPositionsAsync(@Nonnull String index, String startDate, String endDate, String tags, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) Show the number of clicks events and their associated position in the search results. > **Note**: If all `positions` have a `clickCount` of `0` or `null`, it means Algolia didn't receive any click events for tracked searches. A _tracked_ search is a search request where the `clickAnalytics` parameter is `true`.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getClickPositionsAsync
public CompletableFuture<GetClickPositionsResponse> getClickPositionsAsync(@Nonnull String index, String startDate, String endDate, String tags) throws AlgoliaRuntimeException (asynchronously) Show the number of clicks events and their associated position in the search results. > **Note**: If all `positions` have a `clickCount` of `0` or `null`, it means Algolia didn't receive any click events for tracked searches. A _tracked_ search is a search request where the `clickAnalytics` parameter is `true`.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getClickPositionsAsync
public CompletableFuture<GetClickPositionsResponse> getClickPositionsAsync(@Nonnull String index, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) Show the number of clicks events and their associated position in the search results. > **Note**: If all `positions` have a `clickCount` of `0` or `null`, it means Algolia didn't receive any click events for tracked searches. A _tracked_ search is a search request where the `clickAnalytics` parameter is `true`.- Parameters:
index- Index name to target. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getClickPositionsAsync
public CompletableFuture<GetClickPositionsResponse> getClickPositionsAsync(@Nonnull String index) throws AlgoliaRuntimeException (asynchronously) Show the number of clicks events and their associated position in the search results. > **Note**: If all `positions` have a `clickCount` of `0` or `null`, it means Algolia didn't receive any click events for tracked searches. A _tracked_ search is a search request where the `clickAnalytics` parameter is `true`.- Parameters:
index- Index name to target. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getClickThroughRate
public GetClickThroughRateResponse getClickThroughRate(@Nonnull String index, String startDate, String endDate, String tags, RequestOptions requestOptions) throws AlgoliaRuntimeException Returns a [click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getClickThroughRate
public GetClickThroughRateResponse getClickThroughRate(@Nonnull String index, String startDate, String endDate, String tags) throws AlgoliaRuntimeException Returns a [click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getClickThroughRate
public GetClickThroughRateResponse getClickThroughRate(@Nonnull String index, RequestOptions requestOptions) throws AlgoliaRuntimeException Returns a [click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).- Parameters:
index- Index name to target. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getClickThroughRate
public GetClickThroughRateResponse getClickThroughRate(@Nonnull String index) throws AlgoliaRuntimeException Returns a [click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).- Parameters:
index- Index name to target. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getClickThroughRateAsync
public CompletableFuture<GetClickThroughRateResponse> getClickThroughRateAsync(@Nonnull String index, String startDate, String endDate, String tags, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) Returns a [click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getClickThroughRateAsync
public CompletableFuture<GetClickThroughRateResponse> getClickThroughRateAsync(@Nonnull String index, String startDate, String endDate, String tags) throws AlgoliaRuntimeException (asynchronously) Returns a [click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getClickThroughRateAsync
public CompletableFuture<GetClickThroughRateResponse> getClickThroughRateAsync(@Nonnull String index, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) Returns a [click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).- Parameters:
index- Index name to target. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getClickThroughRateAsync
public CompletableFuture<GetClickThroughRateResponse> getClickThroughRateAsync(@Nonnull String index) throws AlgoliaRuntimeException (asynchronously) Returns a [click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).- Parameters:
index- Index name to target. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getConversationRate
public GetConversationRateResponse getConversationRate(@Nonnull String index, String startDate, String endDate, String tags, RequestOptions requestOptions) throws AlgoliaRuntimeException Return a [conversion rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#conversion-rate).- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getConversationRate
public GetConversationRateResponse getConversationRate(@Nonnull String index, String startDate, String endDate, String tags) throws AlgoliaRuntimeException Return a [conversion rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#conversion-rate).- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getConversationRate
public GetConversationRateResponse getConversationRate(@Nonnull String index, RequestOptions requestOptions) throws AlgoliaRuntimeException Return a [conversion rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#conversion-rate).- Parameters:
index- Index name to target. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getConversationRate
public GetConversationRateResponse getConversationRate(@Nonnull String index) throws AlgoliaRuntimeException Return a [conversion rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#conversion-rate).- Parameters:
index- Index name to target. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getConversationRateAsync
public CompletableFuture<GetConversationRateResponse> getConversationRateAsync(@Nonnull String index, String startDate, String endDate, String tags, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) Return a [conversion rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#conversion-rate).- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getConversationRateAsync
public CompletableFuture<GetConversationRateResponse> getConversationRateAsync(@Nonnull String index, String startDate, String endDate, String tags) throws AlgoliaRuntimeException (asynchronously) Return a [conversion rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#conversion-rate).- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getConversationRateAsync
public CompletableFuture<GetConversationRateResponse> getConversationRateAsync(@Nonnull String index, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) Return a [conversion rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#conversion-rate).- Parameters:
index- Index name to target. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getConversationRateAsync
public CompletableFuture<GetConversationRateResponse> getConversationRateAsync(@Nonnull String index) throws AlgoliaRuntimeException (asynchronously) Return a [conversion rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#conversion-rate).- Parameters:
index- Index name to target. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getNoClickRate
public GetNoClickRateResponse getNoClickRate(@Nonnull String index, String startDate, String endDate, String tags, RequestOptions requestOptions) throws AlgoliaRuntimeException Returns the rate at which searches don't lead to any clicks. The endpoint returns a value for the complete given time range, as well as a value per day. It also returns the count of searches and searches without clicks.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getNoClickRate
public GetNoClickRateResponse getNoClickRate(@Nonnull String index, String startDate, String endDate, String tags) throws AlgoliaRuntimeException Returns the rate at which searches don't lead to any clicks. The endpoint returns a value for the complete given time range, as well as a value per day. It also returns the count of searches and searches without clicks.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getNoClickRate
public GetNoClickRateResponse getNoClickRate(@Nonnull String index, RequestOptions requestOptions) throws AlgoliaRuntimeException Returns the rate at which searches don't lead to any clicks. The endpoint returns a value for the complete given time range, as well as a value per day. It also returns the count of searches and searches without clicks.- Parameters:
index- Index name to target. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getNoClickRate
Returns the rate at which searches don't lead to any clicks. The endpoint returns a value for the complete given time range, as well as a value per day. It also returns the count of searches and searches without clicks.- Parameters:
index- Index name to target. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getNoClickRateAsync
public CompletableFuture<GetNoClickRateResponse> getNoClickRateAsync(@Nonnull String index, String startDate, String endDate, String tags, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) Returns the rate at which searches don't lead to any clicks. The endpoint returns a value for the complete given time range, as well as a value per day. It also returns the count of searches and searches without clicks.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getNoClickRateAsync
public CompletableFuture<GetNoClickRateResponse> getNoClickRateAsync(@Nonnull String index, String startDate, String endDate, String tags) throws AlgoliaRuntimeException (asynchronously) Returns the rate at which searches don't lead to any clicks. The endpoint returns a value for the complete given time range, as well as a value per day. It also returns the count of searches and searches without clicks.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getNoClickRateAsync
public CompletableFuture<GetNoClickRateResponse> getNoClickRateAsync(@Nonnull String index, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) Returns the rate at which searches don't lead to any clicks. The endpoint returns a value for the complete given time range, as well as a value per day. It also returns the count of searches and searches without clicks.- Parameters:
index- Index name to target. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getNoClickRateAsync
public CompletableFuture<GetNoClickRateResponse> getNoClickRateAsync(@Nonnull String index) throws AlgoliaRuntimeException (asynchronously) Returns the rate at which searches don't lead to any clicks. The endpoint returns a value for the complete given time range, as well as a value per day. It also returns the count of searches and searches without clicks.- Parameters:
index- Index name to target. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getNoResultsRate
public GetNoResultsRateResponse getNoResultsRate(@Nonnull String index, String startDate, String endDate, String tags, RequestOptions requestOptions) throws AlgoliaRuntimeException Returns the rate at which searches didn't return any results.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getNoResultsRate
public GetNoResultsRateResponse getNoResultsRate(@Nonnull String index, String startDate, String endDate, String tags) throws AlgoliaRuntimeException Returns the rate at which searches didn't return any results.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getNoResultsRate
public GetNoResultsRateResponse getNoResultsRate(@Nonnull String index, RequestOptions requestOptions) throws AlgoliaRuntimeException Returns the rate at which searches didn't return any results.- Parameters:
index- Index name to target. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getNoResultsRate
public GetNoResultsRateResponse getNoResultsRate(@Nonnull String index) throws AlgoliaRuntimeException Returns the rate at which searches didn't return any results.- Parameters:
index- Index name to target. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getNoResultsRateAsync
public CompletableFuture<GetNoResultsRateResponse> getNoResultsRateAsync(@Nonnull String index, String startDate, String endDate, String tags, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) Returns the rate at which searches didn't return any results.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getNoResultsRateAsync
public CompletableFuture<GetNoResultsRateResponse> getNoResultsRateAsync(@Nonnull String index, String startDate, String endDate, String tags) throws AlgoliaRuntimeException (asynchronously) Returns the rate at which searches didn't return any results.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getNoResultsRateAsync
public CompletableFuture<GetNoResultsRateResponse> getNoResultsRateAsync(@Nonnull String index, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) Returns the rate at which searches didn't return any results.- Parameters:
index- Index name to target. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getNoResultsRateAsync
public CompletableFuture<GetNoResultsRateResponse> getNoResultsRateAsync(@Nonnull String index) throws AlgoliaRuntimeException (asynchronously) Returns the rate at which searches didn't return any results.- Parameters:
index- Index name to target. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getSearchesCount
public GetSearchesCountResponse getSearchesCount(@Nonnull String index, String startDate, String endDate, String tags, RequestOptions requestOptions) throws AlgoliaRuntimeException Returns the number of searches within a time range.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getSearchesCount
public GetSearchesCountResponse getSearchesCount(@Nonnull String index, String startDate, String endDate, String tags) throws AlgoliaRuntimeException Returns the number of searches within a time range.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getSearchesCount
public GetSearchesCountResponse getSearchesCount(@Nonnull String index, RequestOptions requestOptions) throws AlgoliaRuntimeException Returns the number of searches within a time range.- Parameters:
index- Index name to target. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getSearchesCount
public GetSearchesCountResponse getSearchesCount(@Nonnull String index) throws AlgoliaRuntimeException Returns the number of searches within a time range.- Parameters:
index- Index name to target. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getSearchesCountAsync
public CompletableFuture<GetSearchesCountResponse> getSearchesCountAsync(@Nonnull String index, String startDate, String endDate, String tags, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) Returns the number of searches within a time range.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getSearchesCountAsync
public CompletableFuture<GetSearchesCountResponse> getSearchesCountAsync(@Nonnull String index, String startDate, String endDate, String tags) throws AlgoliaRuntimeException (asynchronously) Returns the number of searches within a time range.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getSearchesCountAsync
public CompletableFuture<GetSearchesCountResponse> getSearchesCountAsync(@Nonnull String index, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) Returns the number of searches within a time range.- Parameters:
index- Index name to target. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getSearchesCountAsync
public CompletableFuture<GetSearchesCountResponse> getSearchesCountAsync(@Nonnull String index) throws AlgoliaRuntimeException (asynchronously) Returns the number of searches within a time range.- Parameters:
index- Index name to target. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getSearchesNoClicks
public GetSearchesNoClicksResponse getSearchesNoClicks(@Nonnull String index, String startDate, String endDate, Integer limit, Integer offset, String tags, RequestOptions requestOptions) throws AlgoliaRuntimeException Return the most popular of the last 1,000 searches that didn't lead to any clicks.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)limit- Number of records to return (page size). (optional, default to 10)offset- Position of the starting record. Used for paging. 0 is the first record. (optional, default to 0)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getSearchesNoClicks
public GetSearchesNoClicksResponse getSearchesNoClicks(@Nonnull String index, String startDate, String endDate, Integer limit, Integer offset, String tags) throws AlgoliaRuntimeException Return the most popular of the last 1,000 searches that didn't lead to any clicks.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)limit- Number of records to return (page size). (optional, default to 10)offset- Position of the starting record. Used for paging. 0 is the first record. (optional, default to 0)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getSearchesNoClicks
public GetSearchesNoClicksResponse getSearchesNoClicks(@Nonnull String index, RequestOptions requestOptions) throws AlgoliaRuntimeException Return the most popular of the last 1,000 searches that didn't lead to any clicks.- Parameters:
index- Index name to target. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getSearchesNoClicks
public GetSearchesNoClicksResponse getSearchesNoClicks(@Nonnull String index) throws AlgoliaRuntimeException Return the most popular of the last 1,000 searches that didn't lead to any clicks.- Parameters:
index- Index name to target. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getSearchesNoClicksAsync
public CompletableFuture<GetSearchesNoClicksResponse> getSearchesNoClicksAsync(@Nonnull String index, String startDate, String endDate, Integer limit, Integer offset, String tags, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) Return the most popular of the last 1,000 searches that didn't lead to any clicks.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)limit- Number of records to return (page size). (optional, default to 10)offset- Position of the starting record. Used for paging. 0 is the first record. (optional, default to 0)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getSearchesNoClicksAsync
public CompletableFuture<GetSearchesNoClicksResponse> getSearchesNoClicksAsync(@Nonnull String index, String startDate, String endDate, Integer limit, Integer offset, String tags) throws AlgoliaRuntimeException (asynchronously) Return the most popular of the last 1,000 searches that didn't lead to any clicks.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)limit- Number of records to return (page size). (optional, default to 10)offset- Position of the starting record. Used for paging. 0 is the first record. (optional, default to 0)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getSearchesNoClicksAsync
public CompletableFuture<GetSearchesNoClicksResponse> getSearchesNoClicksAsync(@Nonnull String index, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) Return the most popular of the last 1,000 searches that didn't lead to any clicks.- Parameters:
index- Index name to target. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getSearchesNoClicksAsync
public CompletableFuture<GetSearchesNoClicksResponse> getSearchesNoClicksAsync(@Nonnull String index) throws AlgoliaRuntimeException (asynchronously) Return the most popular of the last 1,000 searches that didn't lead to any clicks.- Parameters:
index- Index name to target. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getSearchesNoResults
public GetSearchesNoResultsResponse getSearchesNoResults(@Nonnull String index, String startDate, String endDate, Integer limit, Integer offset, String tags, RequestOptions requestOptions) throws AlgoliaRuntimeException Returns the most popular of the latest 1,000 searches that didn't return any results.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)limit- Number of records to return (page size). (optional, default to 10)offset- Position of the starting record. Used for paging. 0 is the first record. (optional, default to 0)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getSearchesNoResults
public GetSearchesNoResultsResponse getSearchesNoResults(@Nonnull String index, String startDate, String endDate, Integer limit, Integer offset, String tags) throws AlgoliaRuntimeException Returns the most popular of the latest 1,000 searches that didn't return any results.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)limit- Number of records to return (page size). (optional, default to 10)offset- Position of the starting record. Used for paging. 0 is the first record. (optional, default to 0)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getSearchesNoResults
public GetSearchesNoResultsResponse getSearchesNoResults(@Nonnull String index, RequestOptions requestOptions) throws AlgoliaRuntimeException Returns the most popular of the latest 1,000 searches that didn't return any results.- Parameters:
index- Index name to target. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getSearchesNoResults
public GetSearchesNoResultsResponse getSearchesNoResults(@Nonnull String index) throws AlgoliaRuntimeException Returns the most popular of the latest 1,000 searches that didn't return any results.- Parameters:
index- Index name to target. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getSearchesNoResultsAsync
public CompletableFuture<GetSearchesNoResultsResponse> getSearchesNoResultsAsync(@Nonnull String index, String startDate, String endDate, Integer limit, Integer offset, String tags, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) Returns the most popular of the latest 1,000 searches that didn't return any results.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)limit- Number of records to return (page size). (optional, default to 10)offset- Position of the starting record. Used for paging. 0 is the first record. (optional, default to 0)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getSearchesNoResultsAsync
public CompletableFuture<GetSearchesNoResultsResponse> getSearchesNoResultsAsync(@Nonnull String index, String startDate, String endDate, Integer limit, Integer offset, String tags) throws AlgoliaRuntimeException (asynchronously) Returns the most popular of the latest 1,000 searches that didn't return any results.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)limit- Number of records to return (page size). (optional, default to 10)offset- Position of the starting record. Used for paging. 0 is the first record. (optional, default to 0)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getSearchesNoResultsAsync
public CompletableFuture<GetSearchesNoResultsResponse> getSearchesNoResultsAsync(@Nonnull String index, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) Returns the most popular of the latest 1,000 searches that didn't return any results.- Parameters:
index- Index name to target. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getSearchesNoResultsAsync
public CompletableFuture<GetSearchesNoResultsResponse> getSearchesNoResultsAsync(@Nonnull String index) throws AlgoliaRuntimeException (asynchronously) Returns the most popular of the latest 1,000 searches that didn't return any results.- Parameters:
index- Index name to target. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getStatus
public GetStatusResponse getStatus(@Nonnull String index, RequestOptions requestOptions) throws AlgoliaRuntimeException Return the latest update time of the Analytics API for an index. If the index has been recently created or no search has been performed yet, `updatedAt` will be `null`. > **Note**: The Analytics API is updated every 5 minutes.- Parameters:
index- Index name to target. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getStatus
Return the latest update time of the Analytics API for an index. If the index has been recently created or no search has been performed yet, `updatedAt` will be `null`. > **Note**: The Analytics API is updated every 5 minutes.- Parameters:
index- Index name to target. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getStatusAsync
public CompletableFuture<GetStatusResponse> getStatusAsync(@Nonnull String index, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) Return the latest update time of the Analytics API for an index. If the index has been recently created or no search has been performed yet, `updatedAt` will be `null`. > **Note**: The Analytics API is updated every 5 minutes.- Parameters:
index- Index name to target. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getStatusAsync
public CompletableFuture<GetStatusResponse> getStatusAsync(@Nonnull String index) throws AlgoliaRuntimeException (asynchronously) Return the latest update time of the Analytics API for an index. If the index has been recently created or no search has been performed yet, `updatedAt` will be `null`. > **Note**: The Analytics API is updated every 5 minutes.- Parameters:
index- Index name to target. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopCountries
public GetTopCountriesResponse getTopCountries(@Nonnull String index, String startDate, String endDate, Integer limit, Integer offset, String tags, RequestOptions requestOptions) throws AlgoliaRuntimeException Returns top countries. Limited to the 1,000 most frequent ones.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)limit- Number of records to return (page size). (optional, default to 10)offset- Position of the starting record. Used for paging. 0 is the first record. (optional, default to 0)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopCountries
public GetTopCountriesResponse getTopCountries(@Nonnull String index, String startDate, String endDate, Integer limit, Integer offset, String tags) throws AlgoliaRuntimeException Returns top countries. Limited to the 1,000 most frequent ones.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)limit- Number of records to return (page size). (optional, default to 10)offset- Position of the starting record. Used for paging. 0 is the first record. (optional, default to 0)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopCountries
public GetTopCountriesResponse getTopCountries(@Nonnull String index, RequestOptions requestOptions) throws AlgoliaRuntimeException Returns top countries. Limited to the 1,000 most frequent ones.- Parameters:
index- Index name to target. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopCountries
public GetTopCountriesResponse getTopCountries(@Nonnull String index) throws AlgoliaRuntimeException Returns top countries. Limited to the 1,000 most frequent ones.- Parameters:
index- Index name to target. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopCountriesAsync
public CompletableFuture<GetTopCountriesResponse> getTopCountriesAsync(@Nonnull String index, String startDate, String endDate, Integer limit, Integer offset, String tags, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) Returns top countries. Limited to the 1,000 most frequent ones.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)limit- Number of records to return (page size). (optional, default to 10)offset- Position of the starting record. Used for paging. 0 is the first record. (optional, default to 0)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopCountriesAsync
public CompletableFuture<GetTopCountriesResponse> getTopCountriesAsync(@Nonnull String index, String startDate, String endDate, Integer limit, Integer offset, String tags) throws AlgoliaRuntimeException (asynchronously) Returns top countries. Limited to the 1,000 most frequent ones.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)limit- Number of records to return (page size). (optional, default to 10)offset- Position of the starting record. Used for paging. 0 is the first record. (optional, default to 0)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopCountriesAsync
public CompletableFuture<GetTopCountriesResponse> getTopCountriesAsync(@Nonnull String index, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) Returns top countries. Limited to the 1,000 most frequent ones.- Parameters:
index- Index name to target. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopCountriesAsync
public CompletableFuture<GetTopCountriesResponse> getTopCountriesAsync(@Nonnull String index) throws AlgoliaRuntimeException (asynchronously) Returns top countries. Limited to the 1,000 most frequent ones.- Parameters:
index- Index name to target. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopFilterAttributes
public GetTopFilterAttributesResponse getTopFilterAttributes(@Nonnull String index, String search, String startDate, String endDate, Integer limit, Integer offset, String tags, RequestOptions requestOptions) throws AlgoliaRuntimeException Return the most popular [filterable attributes](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/) in the 1,000 most recently used filters.- Parameters:
index- Index name to target. (required)search- User query. (optional)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)limit- Number of records to return (page size). (optional, default to 10)offset- Position of the starting record. Used for paging. 0 is the first record. (optional, default to 0)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopFilterAttributes
public GetTopFilterAttributesResponse getTopFilterAttributes(@Nonnull String index, String search, String startDate, String endDate, Integer limit, Integer offset, String tags) throws AlgoliaRuntimeException Return the most popular [filterable attributes](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/) in the 1,000 most recently used filters.- Parameters:
index- Index name to target. (required)search- User query. (optional)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)limit- Number of records to return (page size). (optional, default to 10)offset- Position of the starting record. Used for paging. 0 is the first record. (optional, default to 0)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopFilterAttributes
public GetTopFilterAttributesResponse getTopFilterAttributes(@Nonnull String index, RequestOptions requestOptions) throws AlgoliaRuntimeException Return the most popular [filterable attributes](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/) in the 1,000 most recently used filters.- Parameters:
index- Index name to target. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopFilterAttributes
public GetTopFilterAttributesResponse getTopFilterAttributes(@Nonnull String index) throws AlgoliaRuntimeException Return the most popular [filterable attributes](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/) in the 1,000 most recently used filters.- Parameters:
index- Index name to target. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopFilterAttributesAsync
public CompletableFuture<GetTopFilterAttributesResponse> getTopFilterAttributesAsync(@Nonnull String index, String search, String startDate, String endDate, Integer limit, Integer offset, String tags, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) Return the most popular [filterable attributes](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/) in the 1,000 most recently used filters.- Parameters:
index- Index name to target. (required)search- User query. (optional)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)limit- Number of records to return (page size). (optional, default to 10)offset- Position of the starting record. Used for paging. 0 is the first record. (optional, default to 0)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopFilterAttributesAsync
public CompletableFuture<GetTopFilterAttributesResponse> getTopFilterAttributesAsync(@Nonnull String index, String search, String startDate, String endDate, Integer limit, Integer offset, String tags) throws AlgoliaRuntimeException (asynchronously) Return the most popular [filterable attributes](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/) in the 1,000 most recently used filters.- Parameters:
index- Index name to target. (required)search- User query. (optional)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)limit- Number of records to return (page size). (optional, default to 10)offset- Position of the starting record. Used for paging. 0 is the first record. (optional, default to 0)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopFilterAttributesAsync
public CompletableFuture<GetTopFilterAttributesResponse> getTopFilterAttributesAsync(@Nonnull String index, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) Return the most popular [filterable attributes](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/) in the 1,000 most recently used filters.- Parameters:
index- Index name to target. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopFilterAttributesAsync
public CompletableFuture<GetTopFilterAttributesResponse> getTopFilterAttributesAsync(@Nonnull String index) throws AlgoliaRuntimeException (asynchronously) Return the most popular [filterable attributes](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/) in the 1,000 most recently used filters.- Parameters:
index- Index name to target. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopFilterForAttribute
public GetTopFilterForAttributeResponse getTopFilterForAttribute(@Nonnull String attribute, @Nonnull String index, String search, String startDate, String endDate, Integer limit, Integer offset, String tags, RequestOptions requestOptions) throws AlgoliaRuntimeException Returns the most popular filter values for an attribute in the 1,000 most recently used filters.- Parameters:
attribute- Attribute name. (required)index- Index name to target. (required)search- User query. (optional)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)limit- Number of records to return (page size). (optional, default to 10)offset- Position of the starting record. Used for paging. 0 is the first record. (optional, default to 0)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopFilterForAttribute
public GetTopFilterForAttributeResponse getTopFilterForAttribute(@Nonnull String attribute, @Nonnull String index, String search, String startDate, String endDate, Integer limit, Integer offset, String tags) throws AlgoliaRuntimeException Returns the most popular filter values for an attribute in the 1,000 most recently used filters.- Parameters:
attribute- Attribute name. (required)index- Index name to target. (required)search- User query. (optional)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)limit- Number of records to return (page size). (optional, default to 10)offset- Position of the starting record. Used for paging. 0 is the first record. (optional, default to 0)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopFilterForAttribute
public GetTopFilterForAttributeResponse getTopFilterForAttribute(@Nonnull String attribute, @Nonnull String index, RequestOptions requestOptions) throws AlgoliaRuntimeException Returns the most popular filter values for an attribute in the 1,000 most recently used filters.- Parameters:
attribute- Attribute name. (required)index- Index name to target. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopFilterForAttribute
public GetTopFilterForAttributeResponse getTopFilterForAttribute(@Nonnull String attribute, @Nonnull String index) throws AlgoliaRuntimeException Returns the most popular filter values for an attribute in the 1,000 most recently used filters.- Parameters:
attribute- Attribute name. (required)index- Index name to target. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopFilterForAttributeAsync
public CompletableFuture<GetTopFilterForAttributeResponse> getTopFilterForAttributeAsync(@Nonnull String attribute, @Nonnull String index, String search, String startDate, String endDate, Integer limit, Integer offset, String tags, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) Returns the most popular filter values for an attribute in the 1,000 most recently used filters.- Parameters:
attribute- Attribute name. (required)index- Index name to target. (required)search- User query. (optional)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)limit- Number of records to return (page size). (optional, default to 10)offset- Position of the starting record. Used for paging. 0 is the first record. (optional, default to 0)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopFilterForAttributeAsync
public CompletableFuture<GetTopFilterForAttributeResponse> getTopFilterForAttributeAsync(@Nonnull String attribute, @Nonnull String index, String search, String startDate, String endDate, Integer limit, Integer offset, String tags) throws AlgoliaRuntimeException (asynchronously) Returns the most popular filter values for an attribute in the 1,000 most recently used filters.- Parameters:
attribute- Attribute name. (required)index- Index name to target. (required)search- User query. (optional)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)limit- Number of records to return (page size). (optional, default to 10)offset- Position of the starting record. Used for paging. 0 is the first record. (optional, default to 0)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopFilterForAttributeAsync
public CompletableFuture<GetTopFilterForAttributeResponse> getTopFilterForAttributeAsync(@Nonnull String attribute, @Nonnull String index, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) Returns the most popular filter values for an attribute in the 1,000 most recently used filters.- Parameters:
attribute- Attribute name. (required)index- Index name to target. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopFilterForAttributeAsync
public CompletableFuture<GetTopFilterForAttributeResponse> getTopFilterForAttributeAsync(@Nonnull String attribute, @Nonnull String index) throws AlgoliaRuntimeException (asynchronously) Returns the most popular filter values for an attribute in the 1,000 most recently used filters.- Parameters:
attribute- Attribute name. (required)index- Index name to target. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopFiltersNoResults
public GetTopFiltersNoResultsResponse getTopFiltersNoResults(@Nonnull String index, String search, String startDate, String endDate, Integer limit, Integer offset, String tags, RequestOptions requestOptions) throws AlgoliaRuntimeException Returns top filters for filter-enabled searches that don't return results. Limited to the 1,000 most recently used filters.- Parameters:
index- Index name to target. (required)search- User query. (optional)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)limit- Number of records to return (page size). (optional, default to 10)offset- Position of the starting record. Used for paging. 0 is the first record. (optional, default to 0)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopFiltersNoResults
public GetTopFiltersNoResultsResponse getTopFiltersNoResults(@Nonnull String index, String search, String startDate, String endDate, Integer limit, Integer offset, String tags) throws AlgoliaRuntimeException Returns top filters for filter-enabled searches that don't return results. Limited to the 1,000 most recently used filters.- Parameters:
index- Index name to target. (required)search- User query. (optional)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)limit- Number of records to return (page size). (optional, default to 10)offset- Position of the starting record. Used for paging. 0 is the first record. (optional, default to 0)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopFiltersNoResults
public GetTopFiltersNoResultsResponse getTopFiltersNoResults(@Nonnull String index, RequestOptions requestOptions) throws AlgoliaRuntimeException Returns top filters for filter-enabled searches that don't return results. Limited to the 1,000 most recently used filters.- Parameters:
index- Index name to target. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopFiltersNoResults
public GetTopFiltersNoResultsResponse getTopFiltersNoResults(@Nonnull String index) throws AlgoliaRuntimeException Returns top filters for filter-enabled searches that don't return results. Limited to the 1,000 most recently used filters.- Parameters:
index- Index name to target. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopFiltersNoResultsAsync
public CompletableFuture<GetTopFiltersNoResultsResponse> getTopFiltersNoResultsAsync(@Nonnull String index, String search, String startDate, String endDate, Integer limit, Integer offset, String tags, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) Returns top filters for filter-enabled searches that don't return results. Limited to the 1,000 most recently used filters.- Parameters:
index- Index name to target. (required)search- User query. (optional)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)limit- Number of records to return (page size). (optional, default to 10)offset- Position of the starting record. Used for paging. 0 is the first record. (optional, default to 0)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopFiltersNoResultsAsync
public CompletableFuture<GetTopFiltersNoResultsResponse> getTopFiltersNoResultsAsync(@Nonnull String index, String search, String startDate, String endDate, Integer limit, Integer offset, String tags) throws AlgoliaRuntimeException (asynchronously) Returns top filters for filter-enabled searches that don't return results. Limited to the 1,000 most recently used filters.- Parameters:
index- Index name to target. (required)search- User query. (optional)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)limit- Number of records to return (page size). (optional, default to 10)offset- Position of the starting record. Used for paging. 0 is the first record. (optional, default to 0)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopFiltersNoResultsAsync
public CompletableFuture<GetTopFiltersNoResultsResponse> getTopFiltersNoResultsAsync(@Nonnull String index, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) Returns top filters for filter-enabled searches that don't return results. Limited to the 1,000 most recently used filters.- Parameters:
index- Index name to target. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopFiltersNoResultsAsync
public CompletableFuture<GetTopFiltersNoResultsResponse> getTopFiltersNoResultsAsync(@Nonnull String index) throws AlgoliaRuntimeException (asynchronously) Returns top filters for filter-enabled searches that don't return results. Limited to the 1,000 most recently used filters.- Parameters:
index- Index name to target. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopHits
public GetTopHitsResponse getTopHits(@Nonnull String index, String search, Boolean clickAnalytics, String startDate, String endDate, Integer limit, Integer offset, String tags, RequestOptions requestOptions) throws AlgoliaRuntimeException Return the most popular clicked results in the last 1,000 searches.- Parameters:
index- Index name to target. (required)search- User query. (optional)clickAnalytics- Whether to include [click and conversion](https://www.algolia.com/doc/guides/sending-events/getting-started/) rates for a search. (optional, default to false)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)limit- Number of records to return (page size). (optional, default to 10)offset- Position of the starting record. Used for paging. 0 is the first record. (optional, default to 0)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopHits
public GetTopHitsResponse getTopHits(@Nonnull String index, String search, Boolean clickAnalytics, String startDate, String endDate, Integer limit, Integer offset, String tags) throws AlgoliaRuntimeException Return the most popular clicked results in the last 1,000 searches.- Parameters:
index- Index name to target. (required)search- User query. (optional)clickAnalytics- Whether to include [click and conversion](https://www.algolia.com/doc/guides/sending-events/getting-started/) rates for a search. (optional, default to false)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)limit- Number of records to return (page size). (optional, default to 10)offset- Position of the starting record. Used for paging. 0 is the first record. (optional, default to 0)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopHits
public GetTopHitsResponse getTopHits(@Nonnull String index, RequestOptions requestOptions) throws AlgoliaRuntimeException Return the most popular clicked results in the last 1,000 searches.- Parameters:
index- Index name to target. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopHits
Return the most popular clicked results in the last 1,000 searches.- Parameters:
index- Index name to target. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopHitsAsync
public CompletableFuture<GetTopHitsResponse> getTopHitsAsync(@Nonnull String index, String search, Boolean clickAnalytics, String startDate, String endDate, Integer limit, Integer offset, String tags, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) Return the most popular clicked results in the last 1,000 searches.- Parameters:
index- Index name to target. (required)search- User query. (optional)clickAnalytics- Whether to include [click and conversion](https://www.algolia.com/doc/guides/sending-events/getting-started/) rates for a search. (optional, default to false)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)limit- Number of records to return (page size). (optional, default to 10)offset- Position of the starting record. Used for paging. 0 is the first record. (optional, default to 0)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopHitsAsync
public CompletableFuture<GetTopHitsResponse> getTopHitsAsync(@Nonnull String index, String search, Boolean clickAnalytics, String startDate, String endDate, Integer limit, Integer offset, String tags) throws AlgoliaRuntimeException (asynchronously) Return the most popular clicked results in the last 1,000 searches.- Parameters:
index- Index name to target. (required)search- User query. (optional)clickAnalytics- Whether to include [click and conversion](https://www.algolia.com/doc/guides/sending-events/getting-started/) rates for a search. (optional, default to false)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)limit- Number of records to return (page size). (optional, default to 10)offset- Position of the starting record. Used for paging. 0 is the first record. (optional, default to 0)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopHitsAsync
public CompletableFuture<GetTopHitsResponse> getTopHitsAsync(@Nonnull String index, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) Return the most popular clicked results in the last 1,000 searches.- Parameters:
index- Index name to target. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopHitsAsync
public CompletableFuture<GetTopHitsResponse> getTopHitsAsync(@Nonnull String index) throws AlgoliaRuntimeException (asynchronously) Return the most popular clicked results in the last 1,000 searches.- Parameters:
index- Index name to target. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopSearches
public GetTopSearchesResponse getTopSearches(@Nonnull String index, Boolean clickAnalytics, String startDate, String endDate, OrderBy orderBy, Direction direction, Integer limit, Integer offset, String tags, RequestOptions requestOptions) throws AlgoliaRuntimeException Returns the most popular of the latest 1,000 searches. For each search, also returns the number of hits.- Parameters:
index- Index name to target. (required)clickAnalytics- Whether to include [click and conversion](https://www.algolia.com/doc/guides/sending-events/getting-started/) rates for a search. (optional, default to false)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)orderBy- Reorder the results. (optional, default to searchCount)direction- Sorting direction of the results: ascending or descending. (optional, default to asc)limit- Number of records to return (page size). (optional, default to 10)offset- Position of the starting record. Used for paging. 0 is the first record. (optional, default to 0)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopSearches
public GetTopSearchesResponse getTopSearches(@Nonnull String index, Boolean clickAnalytics, String startDate, String endDate, OrderBy orderBy, Direction direction, Integer limit, Integer offset, String tags) throws AlgoliaRuntimeException Returns the most popular of the latest 1,000 searches. For each search, also returns the number of hits.- Parameters:
index- Index name to target. (required)clickAnalytics- Whether to include [click and conversion](https://www.algolia.com/doc/guides/sending-events/getting-started/) rates for a search. (optional, default to false)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)orderBy- Reorder the results. (optional, default to searchCount)direction- Sorting direction of the results: ascending or descending. (optional, default to asc)limit- Number of records to return (page size). (optional, default to 10)offset- Position of the starting record. Used for paging. 0 is the first record. (optional, default to 0)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopSearches
public GetTopSearchesResponse getTopSearches(@Nonnull String index, RequestOptions requestOptions) throws AlgoliaRuntimeException Returns the most popular of the latest 1,000 searches. For each search, also returns the number of hits.- Parameters:
index- Index name to target. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopSearches
Returns the most popular of the latest 1,000 searches. For each search, also returns the number of hits.- Parameters:
index- Index name to target. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopSearchesAsync
public CompletableFuture<GetTopSearchesResponse> getTopSearchesAsync(@Nonnull String index, Boolean clickAnalytics, String startDate, String endDate, OrderBy orderBy, Direction direction, Integer limit, Integer offset, String tags, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) Returns the most popular of the latest 1,000 searches. For each search, also returns the number of hits.- Parameters:
index- Index name to target. (required)clickAnalytics- Whether to include [click and conversion](https://www.algolia.com/doc/guides/sending-events/getting-started/) rates for a search. (optional, default to false)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)orderBy- Reorder the results. (optional, default to searchCount)direction- Sorting direction of the results: ascending or descending. (optional, default to asc)limit- Number of records to return (page size). (optional, default to 10)offset- Position of the starting record. Used for paging. 0 is the first record. (optional, default to 0)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopSearchesAsync
public CompletableFuture<GetTopSearchesResponse> getTopSearchesAsync(@Nonnull String index, Boolean clickAnalytics, String startDate, String endDate, OrderBy orderBy, Direction direction, Integer limit, Integer offset, String tags) throws AlgoliaRuntimeException (asynchronously) Returns the most popular of the latest 1,000 searches. For each search, also returns the number of hits.- Parameters:
index- Index name to target. (required)clickAnalytics- Whether to include [click and conversion](https://www.algolia.com/doc/guides/sending-events/getting-started/) rates for a search. (optional, default to false)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)orderBy- Reorder the results. (optional, default to searchCount)direction- Sorting direction of the results: ascending or descending. (optional, default to asc)limit- Number of records to return (page size). (optional, default to 10)offset- Position of the starting record. Used for paging. 0 is the first record. (optional, default to 0)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopSearchesAsync
public CompletableFuture<GetTopSearchesResponse> getTopSearchesAsync(@Nonnull String index, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) Returns the most popular of the latest 1,000 searches. For each search, also returns the number of hits.- Parameters:
index- Index name to target. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getTopSearchesAsync
public CompletableFuture<GetTopSearchesResponse> getTopSearchesAsync(@Nonnull String index) throws AlgoliaRuntimeException (asynchronously) Returns the most popular of the latest 1,000 searches. For each search, also returns the number of hits.- Parameters:
index- Index name to target. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getUsersCount
public GetUsersCountResponse getUsersCount(@Nonnull String index, String startDate, String endDate, String tags, RequestOptions requestOptions) throws AlgoliaRuntimeException Return the count of unique users.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getUsersCount
public GetUsersCountResponse getUsersCount(@Nonnull String index, String startDate, String endDate, String tags) throws AlgoliaRuntimeException Return the count of unique users.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getUsersCount
public GetUsersCountResponse getUsersCount(@Nonnull String index, RequestOptions requestOptions) throws AlgoliaRuntimeException Return the count of unique users.- Parameters:
index- Index name to target. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getUsersCount
Return the count of unique users.- Parameters:
index- Index name to target. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getUsersCountAsync
public CompletableFuture<GetUsersCountResponse> getUsersCountAsync(@Nonnull String index, String startDate, String endDate, String tags, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) Return the count of unique users.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getUsersCountAsync
public CompletableFuture<GetUsersCountResponse> getUsersCountAsync(@Nonnull String index, String startDate, String endDate, String tags) throws AlgoliaRuntimeException (asynchronously) Return the count of unique users.- Parameters:
index- Index name to target. (required)startDate- Start date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)endDate- End date (a string in the format `YYYY-MM-DD`) of the period to analyze. (optional)tags- Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded. (optional)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getUsersCountAsync
public CompletableFuture<GetUsersCountResponse> getUsersCountAsync(@Nonnull String index, RequestOptions requestOptions) throws AlgoliaRuntimeException (asynchronously) Return the count of unique users.- Parameters:
index- Index name to target. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-
getUsersCountAsync
public CompletableFuture<GetUsersCountResponse> getUsersCountAsync(@Nonnull String index) throws AlgoliaRuntimeException (asynchronously) Return the count of unique users.- Parameters:
index- Index name to target. (required)- Throws:
AlgoliaRuntimeException- If it fails to process the API call
-