Lines Matching refs:params

33      * $params['id'] = (string) The ID of the job to delete
35 * @param array $params Associative array of parameters
42 public function deleteJob(array $params = [])
44 $id = $this->extractArgument($params, 'id');
48 $endpoint->setParams($params);
56 * $params['id'] = (string) The ID of the job(s) to fetch. Accepts glob patterns, or left blank for all jobs
58 * @param array $params Associative array of parameters
65 public function getJobs(array $params = [])
67 $id = $this->extractArgument($params, 'id');
71 $endpoint->setParams($params);
79 * $params['id'] = (string) The ID of the index to check rollup capabilities on, or left blank for all jobs
81 * @param array $params Associative array of parameters
88 public function getRollupCaps(array $params = [])
90 $id = $this->extractArgument($params, 'id');
94 $endpoint->setParams($params);
102 * $params['index'] = (string) The rollup index or index pattern to obtain rollup capabilities from.
104 * @param array $params Associative array of parameters
111 public function getRollupIndexCaps(array $params = [])
113 $index = $this->extractArgument($params, 'index');
117 $endpoint->setParams($params);
125 * $params['id'] = (string) The ID of the job to create
126 * $params['body'] = (array) The job configuration (Required)
128 * @param array $params Associative array of parameters
135 public function putJob(array $params = [])
137 $id = $this->extractArgument($params, 'id');
138 $body = $this->extractArgument($params, 'body');
142 $endpoint->setParams($params);
151 * $params['index'] = (string) The index to roll up
152 * $params['rollup_index'] = (string) The name of the rollup index to create
153 * $params['body'] = (array) The rollup configuration (Required)
155 * @param array $params Associative array of parameters
162 public function rollup(array $params = [])
164 $index = $this->extractArgument($params, 'index');
165 $rollup_index = $this->extractArgument($params, 'rollup_index');
166 $body = $this->extractArgument($params, 'body');
170 $endpoint->setParams($params);
180 * $params['index'] = (list) The indices or index-pattern(s) (containing rollup or regular data) that should be searched (Required)
181 * $params['type'] = DEPRECATED (string) The doc type inside the index
182 * $params['typed_keys'] = (boolean) Specify whether aggregation and suggester names should be prefixed by their respective types in the response
183 * $params['rest_total_hits_as_int'] = (boolean) Indicates whether hits.total should be rendered as an integer or an object in the rest search response (Default = false)
184 * $params['body'] = (array) The search request body (Required)
186 * @param array $params Associative array of parameters
193 public function rollupSearch(array $params = [])
195 $index = $this->extractArgument($params, 'index');
196 $type = $this->extractArgument($params, 'type');
197 $body = $this->extractArgument($params, 'body');
201 $endpoint->setParams($params);
211 * $params['id'] = (string) The ID of the job to start
213 * @param array $params Associative array of parameters
220 public function startJob(array $params = [])
222 $id = $this->extractArgument($params, 'id');
226 $endpoint->setParams($params);
234 * $params['id'] = (string) The ID of the job to stop
235 * $params['wait_for_completion'] = (boolean) True if the API should block until the job has fully stopped, false if should be executed async. Defaults to false.
236 * $params['timeout'] = (time) Block for (at maximum) the specified duration while waiting for the job to stop. Defaults to 30s.
238 * @param array $params Associative array of parameters
245 public function stopJob(array $params = [])
247 $id = $this->extractArgument($params, 'id');
251 $endpoint->setParams($params);