Fires after a search query request has failed
failed_jetpack_search_query
failed_jetpack_search_queryfailed_jetpack_search_queryFires after a search query request has failed
jetpack_search_should_handle_queryDetermine whether a given WP_Query should be handled by ElasticSearch.
did_jetpack_search_queryFires after a search request has been performed. Includes the following info in the $query parameter: array args Array of Elasticsearch arguments for the search array response Raw API response, JSON decoded int response_code HTTP response code of the request float elapsed_time Roundtrip time of the search request, in milliseconds float es_time Amount of time Elasticsearch spent running the request, in milliseconds string url API url that was queried
jetpack_search_es_wp_query_argsModify the search query parameters, such as controlling the post_type. These arguments are in the format of WP_Query arguments
jetpack_search_es_query_argsModify the underlying ES query that is passed to the search endpoint. The returned args must represent a valid ES query This filter is harder to use if you’re unfamiliar with ES, but allows complete control over the query
jetpack_search_taxonomy_query_varModify the query var to use for a given taxonomy