Class AnalyticsClient

java.lang.Object
com.algolia.ApiClient
com.algolia.api.AnalyticsClient
All Implemented Interfaces:
Closeable, AutoCloseable

public class AnalyticsClient extends ApiClient
  • Constructor Details

  • Method Details

    • customDelete

      public Object customDelete(@Nonnull String path, Map<String,Object> parameters, 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)
      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 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)
      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

      public Object customDelete(@Nonnull String path) 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)
      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 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)
      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 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)
      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

      public Object customGet(@Nonnull String path) 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)
      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 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)
      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 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)
      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

      public Object customPost(@Nonnull String path) 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)
      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 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)
      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 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)
      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

      public Object customPut(@Nonnull String path) 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)
      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

      public GetNoClickRateResponse getNoClickRate(@Nonnull String index) 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)
      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

      public GetStatusResponse getStatus(@Nonnull String index) 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)
      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&nbsp;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&nbsp;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

      public GetTopHitsResponse getTopHits(@Nonnull String index) throws AlgoliaRuntimeException
      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

      public GetTopSearchesResponse getTopSearches(@Nonnull String index) 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)
      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

      public GetUsersCountResponse getUsersCount(@Nonnull String index) throws AlgoliaRuntimeException
      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