Lines Matching defs:params

33      * $params['id'] = (string) The async search ID
35 * @param array $params Associative array of parameters
39 public function delete(array $params = [])
41 $id = $this->extractArgument($params, 'id');
45 $endpoint->setParams($params);
53 * $params['id'] = (string) The async search ID
54 * $params['wait_for_completion_timeout'] = (time) Specify the time that the request should block waiting for the final response
55 * $params['keep_alive'] = (time) Update the time interval in which the results (partial or final) for this search will be available (Default = 5d)
57 * @param array $params Associative array of parameters
61 public function get(array $params = [])
63 $id = $this->extractArgument($params, 'id');
67 $endpoint->setParams($params);
75 * $params['id'] = (string) The async search ID
77 * @param array $params Associative array of parameters
81 public function getStatus(array $params = [])
83 $id = $this->extractArgument($params, 'id');
87 $endpoint->setParams($params);
95 * $params['index'] = (string) The name of the index to scope the operation
96 * $params['wait_for_completion_timeout'] = (time) Specify the time that the request should block waiting for the final response
97 * $params['keep_on_completion'] = (boolean) Control whether the response should be stored in the cluster if it completed within the provided [wait_for_completion] time (default: false) (Default = false)
98 * $params['keep_alive'] = (time) Update the time interval in which the results (partial or final) for this search will be available (Default = 5d)
99 * $params['body'] = (array) Eql request body. Use the `query` to limit the query scope. (Required)
101 * @param array $params Associative array of parameters
105 public function search(array $params = [])
107 $index = $this->extractArgument($params, 'index');
108 $body = $this->extractArgument($params, 'body');
112 $endpoint->setParams($params);