You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @generated This file is generated, please do not edit
26
28
*/
27
29
class AsyncSearch extends AbstractEndpoint
28
30
{
29
-
use EndpointTrait;
30
-
31
31
/**
32
32
* Deletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.
@@ -154,9 +184,19 @@ public function status(array $params = [])
154
184
* version: boolean, // Specify whether to return document version as part of a hit
155
185
* seq_no_primary_term: boolean, // Specify whether to return sequence number and primary term of the last modification of each hit
156
186
* max_concurrent_shard_requests: number, // The number of concurrent shard requests per node this search executes concurrently. This value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests
187
+
* pretty: boolean, // Pretty format the returned JSON response. (DEFAULT: false)
188
+
* human: boolean, // Return human readable values for statistics. (DEFAULT: true)
189
+
* error_trace: boolean, // Include the stack trace of returned errors. (DEFAULT: false)
190
+
* source: string, // The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
191
+
* filter_path: list, // A comma-separated list of filters used to reduce the response.
157
192
* body: array, // The search definition using the Query DSL
158
193
* } $params
194
+
*
159
195
* @throws MissingParameterException if a required parameter is missing
196
+
* @throws NoAliveException if all the hosts are offline
197
+
* @throws ClientResponseException if the status code of response is 4xx
198
+
* @throws ServerResponseException if the status code of response is 5xx
199
+
*
160
200
* @return Elasticsearch|Promise
161
201
*/
162
202
publicfunctionsubmit(array$params = [])
@@ -168,7 +208,7 @@ public function submit(array $params = [])
0 commit comments