diff --git a/src/Elasticsearch/Client.php b/src/Elasticsearch/Client.php index 82ce31098..6e2c4ed76 100644 --- a/src/Elasticsearch/Client.php +++ b/src/Elasticsearch/Client.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Client { @@ -280,9 +288,9 @@ public function __construct(Transport $transport, callable $endpoint, array $reg * $params['pipeline'] = (string) The pipeline id to preprocess incoming documents with * $params['body'] = (array) The operation definition and data (action-data pairs), separated by newlines (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html */ public function bulk(array $params = []) { @@ -303,9 +311,9 @@ public function bulk(array $params = []) * $params['scroll_id'] = DEPRECATED (list) A comma-separated list of scroll IDs to clear * $params['body'] = (array) A comma-separated list of scroll IDs to clear if none was specified via the scroll_id parameter * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#_clear_scroll_api + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#_clear_scroll_api */ public function clearScroll(array $params = []) { @@ -339,9 +347,9 @@ public function clearScroll(array $params = []) * $params['terminate_after'] = (number) The maximum count for each shard, upon reaching which the query execution will terminate early * $params['body'] = (array) A query to restrict the results specified with the Query DSL (optional) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html */ public function count(array $params = []) { @@ -371,9 +379,9 @@ public function count(array $params = []) * $params['pipeline'] = (string) The pipeline id to preprocess incoming documents with * $params['body'] = (array) The document (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html */ public function create(array $params = []) { @@ -405,9 +413,9 @@ public function create(array $params = []) * $params['version'] = (number) Explicit version number for concurrency control * $params['version_type'] = (enum) Specific version type (Options = internal,external,external_gte,force) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete.html */ public function delete(array $params = []) { @@ -462,9 +470,9 @@ public function delete(array $params = []) * $params['slices'] = (number|string) The number of slices this task should be divided into. Defaults to 1, meaning the task isn't sliced into subtasks. Can be set to `auto`. (Default = 1) * $params['body'] = (array) The search definition using the Query DSL (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html */ public function deleteByQuery(array $params = []) { @@ -485,9 +493,9 @@ public function deleteByQuery(array $params = []) * $params['task_id'] = (string) The task id to rethrottle * $params['requests_per_second'] = (number) The throttle to set on this request in floating sub-requests per second. -1 means set no throttle. (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete-by-query.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete-by-query.html */ public function deleteByQueryRethrottle(array $params = []) { @@ -505,9 +513,9 @@ public function deleteByQueryRethrottle(array $params = []) * $params['timeout'] = (time) Explicit operation timeout * $params['master_timeout'] = (time) Specify timeout for connection to master * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html */ public function deleteScript(array $params = []) { @@ -535,9 +543,9 @@ public function deleteScript(array $params = []) * $params['version'] = (number) Explicit version number for concurrency control * $params['version_type'] = (enum) Specific version type (Options = internal,external,external_gte,force) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return bool - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html */ public function exists(array $params = []): bool { @@ -571,9 +579,9 @@ public function exists(array $params = []): bool * $params['version'] = (number) Explicit version number for concurrency control * $params['version_type'] = (enum) Specific version type (Options = internal,external,external_gte,force) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return bool - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html */ public function existsSource(array $params = []): bool { @@ -611,9 +619,9 @@ public function existsSource(array $params = []): bool * $params['_source_includes'] = (list) A list of fields to extract and return from the _source field * $params['body'] = (array) The query definition using the Query DSL * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html */ public function explain(array $params = []) { @@ -641,9 +649,9 @@ public function explain(array $params = []) * $params['include_unmapped'] = (boolean) Indicates whether unmapped fields should be included in the response. (Default = false) * $params['body'] = (array) An index filter specified with the Query DSL * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html */ public function fieldCaps(array $params = []) { @@ -673,9 +681,9 @@ public function fieldCaps(array $params = []) * $params['version'] = (number) Explicit version number for concurrency control * $params['version_type'] = (enum) Specific version type (Options = internal,external,external_gte,force) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html */ public function get(array $params = []) { @@ -696,9 +704,9 @@ public function get(array $params = []) * $params['id'] = (string) Script ID * $params['master_timeout'] = (time) Specify timeout for connection to master * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html */ public function getScript(array $params = []) { @@ -713,12 +721,11 @@ public function getScript(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-contexts.html + * @see https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-contexts.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function getScriptContext(array $params = []) { @@ -731,12 +738,11 @@ public function getScriptContext(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function getScriptLanguages(array $params = []) { @@ -761,9 +767,9 @@ public function getScriptLanguages(array $params = []) * $params['version'] = (number) Explicit version number for concurrency control * $params['version_type'] = (enum) Specific version type (Options = internal,external,external_gte,force) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html */ public function getSource(array $params = []) { @@ -796,9 +802,9 @@ public function getSource(array $params = []) * $params['pipeline'] = (string) The pipeline id to preprocess incoming documents with * $params['body'] = (array) The document (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html */ public function index(array $params = []) { @@ -819,9 +825,9 @@ public function index(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html */ public function info(array $params = []) { @@ -845,9 +851,9 @@ public function info(array $params = []) * $params['_source_includes'] = (list) A list of fields to extract and return from the _source field * $params['body'] = (array) Document identifiers; can be either `docs` (containing full document information) or `ids` (when index and type is provided in the URL. (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html */ public function mget(array $params = []) { @@ -876,9 +882,9 @@ public function mget(array $params = []) * $params['ccs_minimize_roundtrips'] = (boolean) Indicates whether network round-trips should be minimized as part of cross-cluster search requests execution (Default = true) * $params['body'] = (array) The request definitions (metadata-search request definition pairs), separated by newlines (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html */ public function msearch(array $params = []) { @@ -905,9 +911,9 @@ public function msearch(array $params = []) * $params['ccs_minimize_roundtrips'] = (boolean) Indicates whether network round-trips should be minimized as part of cross-cluster search requests execution (Default = true) * $params['body'] = (array) The request definitions (metadata-search request definition pairs), separated by newlines (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html */ public function msearchTemplate(array $params = []) { @@ -941,9 +947,9 @@ public function msearchTemplate(array $params = []) * $params['version_type'] = (enum) Specific version type (Options = internal,external,external_gte,force) * $params['body'] = (array) Define ids, documents, parameters or a list of parameters per document here. You must at least provide a list of document ids. See documentation. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html */ public function mtermvectors(array $params = []) { @@ -962,9 +968,9 @@ public function mtermvectors(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return bool - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html */ public function ping(array $params = []): bool { @@ -985,9 +991,9 @@ public function ping(array $params = []): bool * $params['master_timeout'] = (time) Specify timeout for connection to master * $params['body'] = (array) The document (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html */ public function putScript(array $params = []) { @@ -1012,12 +1018,11 @@ public function putScript(array $params = []) * $params['search_type'] = (enum) Search operation type (Options = query_then_fetch,dfs_query_then_fetch) * $params['body'] = (array) The ranking evaluation search definition, including search requests, document ratings and ranking metric definition. (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-rank-eval.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-rank-eval.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function rankEval(array $params = []) { @@ -1043,9 +1048,9 @@ public function rankEval(array $params = []) * $params['max_docs'] = (number) Maximum number of documents to process (default: all documents) * $params['body'] = (array) The search definition using the Query DSL and the prototype for the index request. (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html */ public function reindex(array $params = []) { @@ -1062,9 +1067,9 @@ public function reindex(array $params = []) * $params['task_id'] = (string) The task id to rethrottle * $params['requests_per_second'] = (number) The throttle to set on this request in floating sub-requests per second. -1 means set no throttle. (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html */ public function reindexRethrottle(array $params = []) { @@ -1081,9 +1086,9 @@ public function reindexRethrottle(array $params = []) * $params['id'] = (string) The id of the stored search template * $params['body'] = (array) The search definition template and its params * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html#_validating_templates + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html#_validating_templates */ public function renderSearchTemplate(array $params = []) { @@ -1101,12 +1106,11 @@ public function renderSearchTemplate(array $params = []) /** * $params['body'] = (array) The script to execute * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-execute-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-execute-api.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function scriptsPainlessExecute(array $params = []) { @@ -1125,9 +1129,9 @@ public function scriptsPainlessExecute(array $params = []) * $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) * $params['body'] = (array) The scroll ID if not passed by URL or query parameter. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll */ public function scroll(array $params = []) { @@ -1189,9 +1193,9 @@ public function scroll(array $params = []) * $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) * $params['body'] = (array) The search definition using the Query DSL * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html */ public function search(array $params = []) { @@ -1217,9 +1221,9 @@ public function search(array $params = []) * $params['allow_no_indices'] = (boolean) Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html */ public function searchShards(array $params = []) { @@ -1250,9 +1254,9 @@ public function searchShards(array $params = []) * $params['ccs_minimize_roundtrips'] = (boolean) Indicates whether network round-trips should be minimized as part of cross-cluster search requests execution (Default = true) * $params['body'] = (array) The search definition template and its params (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html */ public function searchTemplate(array $params = []) { @@ -1286,9 +1290,9 @@ public function searchTemplate(array $params = []) * $params['version_type'] = (enum) Specific version type (Options = internal,external,external_gte,force) * $params['body'] = (array) Define parameters and or supply a document to get termvectors for. See documentation. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html */ public function termvectors(array $params = []) { @@ -1324,9 +1328,9 @@ public function termvectors(array $params = []) * $params['if_primary_term'] = (number) only perform the update operation if the last operation that has changed the document has the specified primary term * $params['body'] = (array) The request definition requires either `script` or partial `doc` (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update.html */ public function update(array $params = []) { @@ -1385,9 +1389,9 @@ public function update(array $params = []) * $params['slices'] = (number|string) The number of slices this task should be divided into. Defaults to 1, meaning the task isn't sliced into subtasks. Can be set to `auto`. (Default = 1) * $params['body'] = (array) The search definition using the Query DSL * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update-by-query.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update-by-query.html */ public function updateByQuery(array $params = []) { @@ -1408,9 +1412,9 @@ public function updateByQuery(array $params = []) * $params['task_id'] = (string) The task id to rethrottle * $params['requests_per_second'] = (number) The throttle to set on this request in floating sub-requests per second. -1 means set no throttle. (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-update-by-query.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-update-by-query.html */ public function updateByQueryRethrottle(array $params = []) { diff --git a/src/Elasticsearch/ClientBuilder.php b/src/Elasticsearch/ClientBuilder.php index 605b861af..4b9085c46 100644 --- a/src/Elasticsearch/ClientBuilder.php +++ b/src/Elasticsearch/ClientBuilder.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ class ClientBuilder { /** @@ -129,7 +134,7 @@ class ClientBuilder private $sslVerification = null; /** - * @var bool + * @var bool */ private $includePortInHostHeader = false; @@ -340,8 +345,6 @@ public function setHosts(array $hosts): ClientBuilder /** * Set the APIKey Pair, consiting of the API Id and the ApiKey of the Response from /_security/api_key * - * @link https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-api-key.html - * * @throws AuthenticationConfigException */ public function setApiKey(string $id, string $apiKey): ClientBuilder @@ -386,20 +389,20 @@ public function setBasicAuthentication(string $username, string $password): Clie /** * Set Elastic Cloud ID to connect to Elastic Cloud * - * @link https://elastic.co/cloud - * * @param string $cloudId */ public function setElasticCloudId(string $cloudId): ClientBuilder { // Register the Hosts array - $this->setHosts([ + $this->setHosts( + [ [ 'host' => $this->parseElasticCloudId($cloudId), 'port' => '', 'scheme' => 'https', ] - ]); + ] + ); if (!isset($this->connectionParams['client']['curl'][CURLOPT_ENCODING])) { // Merge best practices for the connection (enable gzip) @@ -461,7 +464,7 @@ public function setSSLKey(string $key, string $password = null): ClientBuilder } /** - * @param bool|string $value + * @param bool|string $value */ public function setSSLVerification($value = true): ClientBuilder { @@ -472,6 +475,7 @@ public function setSSLVerification($value = true): ClientBuilder /** * Include the port in Host header + * * @see https://github.com/elastic/elasticsearch-php/issues/993 */ public function includePortInHostHeader(bool $enable): ClientBuilder diff --git a/src/Elasticsearch/Common/EmptyLogger.php b/src/Elasticsearch/Common/EmptyLogger.php index 876cdd33d..938a4e51b 100644 --- a/src/Elasticsearch/Common/EmptyLogger.php +++ b/src/Elasticsearch/Common/EmptyLogger.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class EmptyLogger extends AbstractLogger implements LoggerInterface { diff --git a/src/Elasticsearch/Common/Exceptions/AuthenticationConfigException.php b/src/Elasticsearch/Common/Exceptions/AuthenticationConfigException.php index 16f2f837c..8ace1fd52 100644 --- a/src/Elasticsearch/Common/Exceptions/AuthenticationConfigException.php +++ b/src/Elasticsearch/Common/Exceptions/AuthenticationConfigException.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ class AuthenticationConfigException extends \RuntimeException implements ElasticsearchException { } diff --git a/src/Elasticsearch/Common/Exceptions/BadMethodCallException.php b/src/Elasticsearch/Common/Exceptions/BadMethodCallException.php index 5fbf9d966..a0663d2ca 100644 --- a/src/Elasticsearch/Common/Exceptions/BadMethodCallException.php +++ b/src/Elasticsearch/Common/Exceptions/BadMethodCallException.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class BadMethodCallException extends \BadMethodCallException implements ElasticsearchException { diff --git a/src/Elasticsearch/Common/Exceptions/BadRequest400Exception.php b/src/Elasticsearch/Common/Exceptions/BadRequest400Exception.php index 7788daf69..b753f1a17 100644 --- a/src/Elasticsearch/Common/Exceptions/BadRequest400Exception.php +++ b/src/Elasticsearch/Common/Exceptions/BadRequest400Exception.php @@ -1,18 +1,23 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ class BadRequest400Exception extends \Exception implements ElasticsearchException { } diff --git a/src/Elasticsearch/Common/Exceptions/ClientErrorResponseException.php b/src/Elasticsearch/Common/Exceptions/ClientErrorResponseException.php index bbba6c638..4f7746353 100644 --- a/src/Elasticsearch/Common/Exceptions/ClientErrorResponseException.php +++ b/src/Elasticsearch/Common/Exceptions/ClientErrorResponseException.php @@ -1,18 +1,23 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ class ClientErrorResponseException extends TransportException implements ElasticsearchException { } diff --git a/src/Elasticsearch/Common/Exceptions/Conflict409Exception.php b/src/Elasticsearch/Common/Exceptions/Conflict409Exception.php index 208a8b6fe..ad7b6e1b0 100644 --- a/src/Elasticsearch/Common/Exceptions/Conflict409Exception.php +++ b/src/Elasticsearch/Common/Exceptions/Conflict409Exception.php @@ -1,18 +1,23 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ class Conflict409Exception extends \Exception implements ElasticsearchException { } diff --git a/src/Elasticsearch/Common/Exceptions/Curl/CouldNotConnectToHost.php b/src/Elasticsearch/Common/Exceptions/Curl/CouldNotConnectToHost.php index e500381ac..fc03ffaac 100644 --- a/src/Elasticsearch/Common/Exceptions/Curl/CouldNotConnectToHost.php +++ b/src/Elasticsearch/Common/Exceptions/Curl/CouldNotConnectToHost.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ class CouldNotConnectToHost extends TransportException implements ElasticsearchException { } diff --git a/src/Elasticsearch/Common/Exceptions/Curl/CouldNotResolveHostException.php b/src/Elasticsearch/Common/Exceptions/Curl/CouldNotResolveHostException.php index c9d4680ed..59d2adbd9 100644 --- a/src/Elasticsearch/Common/Exceptions/Curl/CouldNotResolveHostException.php +++ b/src/Elasticsearch/Common/Exceptions/Curl/CouldNotResolveHostException.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ class CouldNotResolveHostException extends TransportException implements ElasticsearchException { } diff --git a/src/Elasticsearch/Common/Exceptions/Curl/OperationTimeoutException.php b/src/Elasticsearch/Common/Exceptions/Curl/OperationTimeoutException.php index ccde66597..680b51a84 100644 --- a/src/Elasticsearch/Common/Exceptions/Curl/OperationTimeoutException.php +++ b/src/Elasticsearch/Common/Exceptions/Curl/OperationTimeoutException.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ class OperationTimeoutException extends TransportException implements ElasticsearchException { } diff --git a/src/Elasticsearch/Common/Exceptions/ElasticCloudIdParseException.php b/src/Elasticsearch/Common/Exceptions/ElasticCloudIdParseException.php index 4af4685e8..6c54cb613 100644 --- a/src/Elasticsearch/Common/Exceptions/ElasticCloudIdParseException.php +++ b/src/Elasticsearch/Common/Exceptions/ElasticCloudIdParseException.php @@ -1,20 +1,21 @@ - - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ + declare(strict_types = 1); + +namespace Elasticsearch\Common\Exceptions; + class ElasticCloudIdParseException extends \RuntimeException implements ElasticsearchException { } diff --git a/src/Elasticsearch/Common/Exceptions/ElasticsearchException.php b/src/Elasticsearch/Common/Exceptions/ElasticsearchException.php index 21868399b..47475053b 100644 --- a/src/Elasticsearch/Common/Exceptions/ElasticsearchException.php +++ b/src/Elasticsearch/Common/Exceptions/ElasticsearchException.php @@ -1,18 +1,23 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ interface ElasticsearchException { } diff --git a/src/Elasticsearch/Common/Exceptions/Forbidden403Exception.php b/src/Elasticsearch/Common/Exceptions/Forbidden403Exception.php index 285803e96..3161e6669 100644 --- a/src/Elasticsearch/Common/Exceptions/Forbidden403Exception.php +++ b/src/Elasticsearch/Common/Exceptions/Forbidden403Exception.php @@ -1,18 +1,23 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ class Forbidden403Exception extends \Exception implements ElasticsearchException { } diff --git a/src/Elasticsearch/Common/Exceptions/InvalidArgumentException.php b/src/Elasticsearch/Common/Exceptions/InvalidArgumentException.php index 7c15d4f82..f0c67ab7a 100644 --- a/src/Elasticsearch/Common/Exceptions/InvalidArgumentException.php +++ b/src/Elasticsearch/Common/Exceptions/InvalidArgumentException.php @@ -1,20 +1,23 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ class InvalidArgumentException extends \InvalidArgumentException implements ElasticsearchException { } diff --git a/src/Elasticsearch/Common/Exceptions/MaxRetriesException.php b/src/Elasticsearch/Common/Exceptions/MaxRetriesException.php index 74d11c988..34b8a4878 100644 --- a/src/Elasticsearch/Common/Exceptions/MaxRetriesException.php +++ b/src/Elasticsearch/Common/Exceptions/MaxRetriesException.php @@ -1,18 +1,23 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ class MaxRetriesException extends TransportException implements ElasticsearchException { } diff --git a/src/Elasticsearch/Common/Exceptions/Missing404Exception.php b/src/Elasticsearch/Common/Exceptions/Missing404Exception.php index 6bd567e6f..ccf79518c 100644 --- a/src/Elasticsearch/Common/Exceptions/Missing404Exception.php +++ b/src/Elasticsearch/Common/Exceptions/Missing404Exception.php @@ -1,18 +1,23 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ class Missing404Exception extends \Exception implements ElasticsearchException { } diff --git a/src/Elasticsearch/Common/Exceptions/NoDocumentsToGetException.php b/src/Elasticsearch/Common/Exceptions/NoDocumentsToGetException.php index 2a55afb1b..1fbbec976 100644 --- a/src/Elasticsearch/Common/Exceptions/NoDocumentsToGetException.php +++ b/src/Elasticsearch/Common/Exceptions/NoDocumentsToGetException.php @@ -1,18 +1,23 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ class NoDocumentsToGetException extends ServerErrorResponseException implements ElasticsearchException { } diff --git a/src/Elasticsearch/Common/Exceptions/NoNodesAvailableException.php b/src/Elasticsearch/Common/Exceptions/NoNodesAvailableException.php index b641b81c8..ba46c9561 100644 --- a/src/Elasticsearch/Common/Exceptions/NoNodesAvailableException.php +++ b/src/Elasticsearch/Common/Exceptions/NoNodesAvailableException.php @@ -1,18 +1,23 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ class NoNodesAvailableException extends ServerErrorResponseException implements ElasticsearchException { } diff --git a/src/Elasticsearch/Common/Exceptions/NoShardAvailableException.php b/src/Elasticsearch/Common/Exceptions/NoShardAvailableException.php index c66d37b13..66c0186fc 100644 --- a/src/Elasticsearch/Common/Exceptions/NoShardAvailableException.php +++ b/src/Elasticsearch/Common/Exceptions/NoShardAvailableException.php @@ -1,18 +1,23 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ class NoShardAvailableException extends ServerErrorResponseException implements ElasticsearchException { } diff --git a/src/Elasticsearch/Common/Exceptions/RequestTimeout408Exception.php b/src/Elasticsearch/Common/Exceptions/RequestTimeout408Exception.php index 1e260c04b..56b44dd86 100644 --- a/src/Elasticsearch/Common/Exceptions/RequestTimeout408Exception.php +++ b/src/Elasticsearch/Common/Exceptions/RequestTimeout408Exception.php @@ -1,18 +1,23 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ class RequestTimeout408Exception extends BadRequest400Exception implements ElasticsearchException { } diff --git a/src/Elasticsearch/Common/Exceptions/RoutingMissingException.php b/src/Elasticsearch/Common/Exceptions/RoutingMissingException.php index f5c55ba97..3c986d9e1 100644 --- a/src/Elasticsearch/Common/Exceptions/RoutingMissingException.php +++ b/src/Elasticsearch/Common/Exceptions/RoutingMissingException.php @@ -1,19 +1,23 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ class RoutingMissingException extends ServerErrorResponseException implements ElasticsearchException { } diff --git a/src/Elasticsearch/Common/Exceptions/RuntimeException.php b/src/Elasticsearch/Common/Exceptions/RuntimeException.php index 017994d58..edb09fc3d 100644 --- a/src/Elasticsearch/Common/Exceptions/RuntimeException.php +++ b/src/Elasticsearch/Common/Exceptions/RuntimeException.php @@ -1,18 +1,23 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ class RuntimeException extends \RuntimeException implements ElasticsearchException { } diff --git a/src/Elasticsearch/Common/Exceptions/ScriptLangNotSupportedException.php b/src/Elasticsearch/Common/Exceptions/ScriptLangNotSupportedException.php index e91f68923..151f4062d 100644 --- a/src/Elasticsearch/Common/Exceptions/ScriptLangNotSupportedException.php +++ b/src/Elasticsearch/Common/Exceptions/ScriptLangNotSupportedException.php @@ -1,18 +1,23 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ class ScriptLangNotSupportedException extends BadRequest400Exception implements ElasticsearchException { } diff --git a/src/Elasticsearch/Common/Exceptions/Serializer/JsonErrorException.php b/src/Elasticsearch/Common/Exceptions/Serializer/JsonErrorException.php index 6b96ac5f7..7b374bb9c 100644 --- a/src/Elasticsearch/Common/Exceptions/Serializer/JsonErrorException.php +++ b/src/Elasticsearch/Common/Exceptions/Serializer/JsonErrorException.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ class JsonErrorException extends \Exception implements ElasticsearchException { /** diff --git a/src/Elasticsearch/Common/Exceptions/ServerErrorResponseException.php b/src/Elasticsearch/Common/Exceptions/ServerErrorResponseException.php index 5dfa21b8e..a7923ded4 100644 --- a/src/Elasticsearch/Common/Exceptions/ServerErrorResponseException.php +++ b/src/Elasticsearch/Common/Exceptions/ServerErrorResponseException.php @@ -1,18 +1,23 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ class ServerErrorResponseException extends TransportException implements ElasticsearchException { } diff --git a/src/Elasticsearch/Common/Exceptions/TransportException.php b/src/Elasticsearch/Common/Exceptions/TransportException.php index fee12935b..ef994e0dc 100644 --- a/src/Elasticsearch/Common/Exceptions/TransportException.php +++ b/src/Elasticsearch/Common/Exceptions/TransportException.php @@ -1,18 +1,23 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ class TransportException extends \Exception implements ElasticsearchException { } diff --git a/src/Elasticsearch/Common/Exceptions/Unauthorized401Exception.php b/src/Elasticsearch/Common/Exceptions/Unauthorized401Exception.php index 4d98b5fab..425cca7bb 100644 --- a/src/Elasticsearch/Common/Exceptions/Unauthorized401Exception.php +++ b/src/Elasticsearch/Common/Exceptions/Unauthorized401Exception.php @@ -1,18 +1,23 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ class Unauthorized401Exception extends \Exception implements ElasticsearchException { } diff --git a/src/Elasticsearch/Common/Exceptions/UnexpectedValueException.php b/src/Elasticsearch/Common/Exceptions/UnexpectedValueException.php index 91f7d50ea..eed8b7508 100644 --- a/src/Elasticsearch/Common/Exceptions/UnexpectedValueException.php +++ b/src/Elasticsearch/Common/Exceptions/UnexpectedValueException.php @@ -1,20 +1,23 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ class UnexpectedValueException extends \UnexpectedValueException implements ElasticsearchException { } diff --git a/src/Elasticsearch/ConnectionPool/AbstractConnectionPool.php b/src/Elasticsearch/ConnectionPool/AbstractConnectionPool.php index ca9b61668..ace36f968 100644 --- a/src/Elasticsearch/ConnectionPool/AbstractConnectionPool.php +++ b/src/Elasticsearch/ConnectionPool/AbstractConnectionPool.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ abstract class AbstractConnectionPool implements ConnectionPoolInterface { /** diff --git a/src/Elasticsearch/ConnectionPool/ConnectionPoolInterface.php b/src/Elasticsearch/ConnectionPool/ConnectionPoolInterface.php index dbaaf4d3b..6556986cc 100644 --- a/src/Elasticsearch/ConnectionPool/ConnectionPoolInterface.php +++ b/src/Elasticsearch/ConnectionPool/ConnectionPoolInterface.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ interface ConnectionPoolInterface { public function nextConnection(bool $force = false): ConnectionInterface; diff --git a/src/Elasticsearch/ConnectionPool/Selectors/RandomSelector.php b/src/Elasticsearch/ConnectionPool/Selectors/RandomSelector.php index 6dc76b22e..652f553a7 100644 --- a/src/Elasticsearch/ConnectionPool/Selectors/RandomSelector.php +++ b/src/Elasticsearch/ConnectionPool/Selectors/RandomSelector.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ class RandomSelector implements SelectorInterface { /** diff --git a/src/Elasticsearch/ConnectionPool/Selectors/RoundRobinSelector.php b/src/Elasticsearch/ConnectionPool/Selectors/RoundRobinSelector.php index c12f65dc8..f5c90b0be 100644 --- a/src/Elasticsearch/ConnectionPool/Selectors/RoundRobinSelector.php +++ b/src/Elasticsearch/ConnectionPool/Selectors/RoundRobinSelector.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ class RoundRobinSelector implements SelectorInterface { /** diff --git a/src/Elasticsearch/ConnectionPool/Selectors/SelectorInterface.php b/src/Elasticsearch/ConnectionPool/Selectors/SelectorInterface.php index 00fae008e..a4e5cb2a5 100644 --- a/src/Elasticsearch/ConnectionPool/Selectors/SelectorInterface.php +++ b/src/Elasticsearch/ConnectionPool/Selectors/SelectorInterface.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ interface SelectorInterface { /** diff --git a/src/Elasticsearch/ConnectionPool/Selectors/StickyRoundRobinSelector.php b/src/Elasticsearch/ConnectionPool/Selectors/StickyRoundRobinSelector.php index efd696da0..6b4e8e53f 100644 --- a/src/Elasticsearch/ConnectionPool/Selectors/StickyRoundRobinSelector.php +++ b/src/Elasticsearch/ConnectionPool/Selectors/StickyRoundRobinSelector.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ class StickyRoundRobinSelector implements SelectorInterface { /** diff --git a/src/Elasticsearch/ConnectionPool/SimpleConnectionPool.php b/src/Elasticsearch/ConnectionPool/SimpleConnectionPool.php index 712a6a583..a290decfb 100644 --- a/src/Elasticsearch/ConnectionPool/SimpleConnectionPool.php +++ b/src/Elasticsearch/ConnectionPool/SimpleConnectionPool.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ class Connection implements ConnectionInterface { /** @@ -65,8 +70,8 @@ class Connection implements ConnectionInterface protected $path; /** - * @var int - */ + * @var int + */ protected $port; /** @@ -138,9 +143,10 @@ public function __construct( // Only Set the Basic if API Key is not set and setBasicAuthentication was not called prior if (isset($connectionParams['client']['headers']['Authorization']) === false - && isset($connectionParams['client']['curl'][CURLOPT_HTTPAUTH]) === false - && isset($hostDetails['user']) - && isset($hostDetails['pass'])) { + && isset($connectionParams['client']['curl'][CURLOPT_HTTPAUTH]) === false + && isset($hostDetails['user']) + && isset($hostDetails['pass']) + ) { $connectionParams['client']['curl'][CURLOPT_HTTPAUTH] = CURLAUTH_BASIC; $connectionParams['client']['curl'][CURLOPT_USERPWD] = $hostDetails['user'].':'.$hostDetails['pass']; } @@ -247,86 +253,89 @@ private function wrapHandler(callable $handler): callable $this->lastRequest['request'] = $request; // Send the request using the wrapped handler. - $response = Core::proxy($handler($request), function ($response) use ($connection, $transport, $request, $options) { - - $this->lastRequest['response'] = $response; - - if (isset($response['error']) === true) { - if ($response['error'] instanceof ConnectException || $response['error'] instanceof RingException) { - $this->log->warning("Curl exception encountered."); - - $exception = $this->getCurlRetryException($request, $response); - - $this->logRequestFail($request, $response, $exception); - - $node = $connection->getHost(); - $this->log->warning("Marking node $node dead."); - $connection->markDead(); - - // If the transport has not been set, we are inside a Ping or Sniff, - // so we don't want to retrigger retries anyway. - // - // TODO this could be handled better, but we are limited because connectionpools do not - // have access to Transport. Architecturally, all of this needs to be refactored - if (isset($transport) === true) { - $transport->connectionPool->scheduleCheck(); - - $neverRetry = isset($request['client']['never_retry']) ? $request['client']['never_retry'] : false; - $shouldRetry = $transport->shouldRetry($request); - $shouldRetryText = ($shouldRetry) ? 'true' : 'false'; - - $this->log->warning("Retries left? $shouldRetryText"); - if ($shouldRetry && !$neverRetry) { - return $transport->performRequest( - $request['http_method'], - $request['uri'], - [], - $request['body'], - $options - ); + $response = Core::proxy( + $handler($request), + function ($response) use ($connection, $transport, $request, $options) { + + $this->lastRequest['response'] = $response; + + if (isset($response['error']) === true) { + if ($response['error'] instanceof ConnectException || $response['error'] instanceof RingException) { + $this->log->warning("Curl exception encountered."); + + $exception = $this->getCurlRetryException($request, $response); + + $this->logRequestFail($request, $response, $exception); + + $node = $connection->getHost(); + $this->log->warning("Marking node $node dead."); + $connection->markDead(); + + // If the transport has not been set, we are inside a Ping or Sniff, + // so we don't want to retrigger retries anyway. + // + // TODO this could be handled better, but we are limited because connectionpools do not + // have access to Transport. Architecturally, all of this needs to be refactored + if (isset($transport) === true) { + $transport->connectionPool->scheduleCheck(); + + $neverRetry = isset($request['client']['never_retry']) ? $request['client']['never_retry'] : false; + $shouldRetry = $transport->shouldRetry($request); + $shouldRetryText = ($shouldRetry) ? 'true' : 'false'; + + $this->log->warning("Retries left? $shouldRetryText"); + if ($shouldRetry && !$neverRetry) { + return $transport->performRequest( + $request['http_method'], + $request['uri'], + [], + $request['body'], + $options + ); + } } - } - $this->log->warning("Out of retries, throwing exception from $node"); - // Only throw if we run out of retries - throw $exception; + $this->log->warning("Out of retries, throwing exception from $node"); + // Only throw if we run out of retries + throw $exception; + } else { + // Something went seriously wrong, bail + $exception = new TransportException($response['error']->getMessage()); + $this->logRequestFail($request, $response, $exception); + throw $exception; + } } else { - // Something went seriously wrong, bail - $exception = new TransportException($response['error']->getMessage()); - $this->logRequestFail($request, $response, $exception); - throw $exception; - } - } else { - $connection->markAlive(); + $connection->markAlive(); - if (isset($response['headers']['Warning'])) { - $this->logWarning($request, $response); - } - if (isset($response['body']) === true) { - $response['body'] = stream_get_contents($response['body']); - $this->lastRequest['response']['body'] = $response['body']; - } + if (isset($response['headers']['Warning'])) { + $this->logWarning($request, $response); + } + if (isset($response['body']) === true) { + $response['body'] = stream_get_contents($response['body']); + $this->lastRequest['response']['body'] = $response['body']; + } - if ($response['status'] >= 400 && $response['status'] < 500) { - $ignore = $request['client']['ignore'] ?? []; - // Skip 404 if succeeded true in the body (e.g. clear_scroll) - $body = $response['body'] ?? ''; - if (strpos($body, '"succeeded":true') !== false) { - $ignore[] = 404; + if ($response['status'] >= 400 && $response['status'] < 500) { + $ignore = $request['client']['ignore'] ?? []; + // Skip 404 if succeeded true in the body (e.g. clear_scroll) + $body = $response['body'] ?? ''; + if (strpos($body, '"succeeded":true') !== false) { + $ignore[] = 404; + } + $this->process4xxError($request, $response, $ignore); + } elseif ($response['status'] >= 500) { + $ignore = $request['client']['ignore'] ?? []; + $this->process5xxError($request, $response, $ignore); } - $this->process4xxError($request, $response, $ignore); - } elseif ($response['status'] >= 500) { - $ignore = $request['client']['ignore'] ?? []; - $this->process5xxError($request, $response, $ignore); + + // No error, deserialize + $response['body'] = $this->serializer->deserialize($response['body'], $response['transfer_stats']); } + $this->logRequestSuccess($request, $response); - // No error, deserialize - $response['body'] = $this->serializer->deserialize($response['body'], $response['transfer_stats']); + return isset($request['client']['verbose']) && $request['client']['verbose'] === true ? $response : $response['body']; } - $this->logRequestSuccess($request, $response); - - return isset($request['client']['verbose']) && $request['client']['verbose'] === true ? $response : $response['body']; - }); + ); return $response; }; @@ -369,8 +378,8 @@ public function logWarning(array $request, array $response): void /** * Log a successful request * - * @param array $request - * @param array $response + * @param array $request + * @param array $response * @return void */ public function logRequestSuccess(array $request, array $response): void @@ -407,8 +416,8 @@ public function logRequestSuccess(array $request, array $response): void /** * Log a failed request * - * @param array $request - * @param array $response + * @param array $request + * @param array $response * @param \Exception $exception * * @return void @@ -566,7 +575,7 @@ protected function getCurlRetryException(array $request, array $response): Elast * Get the OS version using php_uname if available * otherwise it returns an empty string * - * @see https://github.com/elastic/elasticsearch-php/issues/922 + * @see https://github.com/elastic/elasticsearch-php/issues/922 */ private function getOSVersion(): string { diff --git a/src/Elasticsearch/Connections/ConnectionFactory.php b/src/Elasticsearch/Connections/ConnectionFactory.php index 0d4233210..a5a15c4b8 100644 --- a/src/Elasticsearch/Connections/ConnectionFactory.php +++ b/src/Elasticsearch/Connections/ConnectionFactory.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ class ConnectionFactory implements ConnectionFactoryInterface { /** diff --git a/src/Elasticsearch/Connections/ConnectionFactoryInterface.php b/src/Elasticsearch/Connections/ConnectionFactoryInterface.php index 6e8be28d1..7f0471ce4 100644 --- a/src/Elasticsearch/Connections/ConnectionFactoryInterface.php +++ b/src/Elasticsearch/Connections/ConnectionFactoryInterface.php @@ -1,18 +1,23 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ interface ConnectionFactoryInterface { public function create(array $hostDetails): ConnectionInterface; diff --git a/src/Elasticsearch/Connections/ConnectionInterface.php b/src/Elasticsearch/Connections/ConnectionInterface.php index 131882043..fd559e0da 100644 --- a/src/Elasticsearch/Connections/ConnectionInterface.php +++ b/src/Elasticsearch/Connections/ConnectionInterface.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ interface ConnectionInterface { /** diff --git a/src/Elasticsearch/Endpoints/AbstractEndpoint.php b/src/Elasticsearch/Endpoints/AbstractEndpoint.php index b48c51fae..489cde5ce 100644 --- a/src/Elasticsearch/Endpoints/AbstractEndpoint.php +++ b/src/Elasticsearch/Endpoints/AbstractEndpoint.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ abstract class AbstractEndpoint { /** diff --git a/src/Elasticsearch/Endpoints/AsyncSearch/Delete.php b/src/Elasticsearch/Endpoints/AsyncSearch/Delete.php index bdbd67c74..906ddbd0d 100644 --- a/src/Elasticsearch/Endpoints/AsyncSearch/Delete.php +++ b/src/Elasticsearch/Endpoints/AsyncSearch/Delete.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Delete extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/AsyncSearch/Get.php b/src/Elasticsearch/Endpoints/AsyncSearch/Get.php index 8aaadb732..bcfa4493f 100644 --- a/src/Elasticsearch/Endpoints/AsyncSearch/Get.php +++ b/src/Elasticsearch/Endpoints/AsyncSearch/Get.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Get extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/AsyncSearch/Submit.php b/src/Elasticsearch/Endpoints/AsyncSearch/Submit.php index 9e6753d5a..824565fcb 100644 --- a/src/Elasticsearch/Endpoints/AsyncSearch/Submit.php +++ b/src/Elasticsearch/Endpoints/AsyncSearch/Submit.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Submit extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Autoscaling/DeleteAutoscalingPolicy.php b/src/Elasticsearch/Endpoints/Autoscaling/DeleteAutoscalingPolicy.php index 632189204..ea3f99185 100644 --- a/src/Elasticsearch/Endpoints/Autoscaling/DeleteAutoscalingPolicy.php +++ b/src/Elasticsearch/Endpoints/Autoscaling/DeleteAutoscalingPolicy.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeleteAutoscalingPolicy extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Autoscaling/GetAutoscalingDecision.php b/src/Elasticsearch/Endpoints/Autoscaling/GetAutoscalingDecision.php index 387d61662..b65512d4c 100644 --- a/src/Elasticsearch/Endpoints/Autoscaling/GetAutoscalingDecision.php +++ b/src/Elasticsearch/Endpoints/Autoscaling/GetAutoscalingDecision.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetAutoscalingDecision extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Autoscaling/GetAutoscalingPolicy.php b/src/Elasticsearch/Endpoints/Autoscaling/GetAutoscalingPolicy.php index a948a1581..458751f7a 100644 --- a/src/Elasticsearch/Endpoints/Autoscaling/GetAutoscalingPolicy.php +++ b/src/Elasticsearch/Endpoints/Autoscaling/GetAutoscalingPolicy.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetAutoscalingPolicy extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Autoscaling/PutAutoscalingPolicy.php b/src/Elasticsearch/Endpoints/Autoscaling/PutAutoscalingPolicy.php index c7d939c39..f9d8f5922 100644 --- a/src/Elasticsearch/Endpoints/Autoscaling/PutAutoscalingPolicy.php +++ b/src/Elasticsearch/Endpoints/Autoscaling/PutAutoscalingPolicy.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PutAutoscalingPolicy extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Bulk.php b/src/Elasticsearch/Endpoints/Bulk.php index fb38d2810..90841d240 100644 --- a/src/Elasticsearch/Endpoints/Bulk.php +++ b/src/Elasticsearch/Endpoints/Bulk.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Bulk extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cat/Aliases.php b/src/Elasticsearch/Endpoints/Cat/Aliases.php index 979f1c13a..f53932d40 100644 --- a/src/Elasticsearch/Endpoints/Cat/Aliases.php +++ b/src/Elasticsearch/Endpoints/Cat/Aliases.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Aliases extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cat/Allocation.php b/src/Elasticsearch/Endpoints/Cat/Allocation.php index 673e2a882..5b0e31478 100644 --- a/src/Elasticsearch/Endpoints/Cat/Allocation.php +++ b/src/Elasticsearch/Endpoints/Cat/Allocation.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Allocation extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cat/Count.php b/src/Elasticsearch/Endpoints/Cat/Count.php index 386ce5212..e87001bf6 100644 --- a/src/Elasticsearch/Endpoints/Cat/Count.php +++ b/src/Elasticsearch/Endpoints/Cat/Count.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Count extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cat/Fielddata.php b/src/Elasticsearch/Endpoints/Cat/Fielddata.php index feb8d2be3..0f97e0082 100644 --- a/src/Elasticsearch/Endpoints/Cat/Fielddata.php +++ b/src/Elasticsearch/Endpoints/Cat/Fielddata.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Fielddata extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cat/Health.php b/src/Elasticsearch/Endpoints/Cat/Health.php index dc1347529..d683ec30c 100644 --- a/src/Elasticsearch/Endpoints/Cat/Health.php +++ b/src/Elasticsearch/Endpoints/Cat/Health.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Health extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cat/Help.php b/src/Elasticsearch/Endpoints/Cat/Help.php index 37f93b99e..984bec736 100644 --- a/src/Elasticsearch/Endpoints/Cat/Help.php +++ b/src/Elasticsearch/Endpoints/Cat/Help.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Help extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cat/Indices.php b/src/Elasticsearch/Endpoints/Cat/Indices.php index b27ef52e0..d75394318 100644 --- a/src/Elasticsearch/Endpoints/Cat/Indices.php +++ b/src/Elasticsearch/Endpoints/Cat/Indices.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Indices extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cat/Master.php b/src/Elasticsearch/Endpoints/Cat/Master.php index 3d1d690c6..078ba785e 100644 --- a/src/Elasticsearch/Endpoints/Cat/Master.php +++ b/src/Elasticsearch/Endpoints/Cat/Master.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Master extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cat/MlDataFrameAnalytics.php b/src/Elasticsearch/Endpoints/Cat/MlDataFrameAnalytics.php index 444fbc057..6347f6a4b 100644 --- a/src/Elasticsearch/Endpoints/Cat/MlDataFrameAnalytics.php +++ b/src/Elasticsearch/Endpoints/Cat/MlDataFrameAnalytics.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class MlDataFrameAnalytics extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cat/MlDatafeeds.php b/src/Elasticsearch/Endpoints/Cat/MlDatafeeds.php index 07229e71b..f55c69a2b 100644 --- a/src/Elasticsearch/Endpoints/Cat/MlDatafeeds.php +++ b/src/Elasticsearch/Endpoints/Cat/MlDatafeeds.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class MlDatafeeds extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cat/MlJobs.php b/src/Elasticsearch/Endpoints/Cat/MlJobs.php index cf36c1456..ec5bb355a 100644 --- a/src/Elasticsearch/Endpoints/Cat/MlJobs.php +++ b/src/Elasticsearch/Endpoints/Cat/MlJobs.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class MlJobs extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cat/MlTrainedModels.php b/src/Elasticsearch/Endpoints/Cat/MlTrainedModels.php index afe75c611..bb7d07592 100644 --- a/src/Elasticsearch/Endpoints/Cat/MlTrainedModels.php +++ b/src/Elasticsearch/Endpoints/Cat/MlTrainedModels.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class MlTrainedModels extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cat/NodeAttrs.php b/src/Elasticsearch/Endpoints/Cat/NodeAttrs.php index ab7c4fa22..f35c94c0c 100644 --- a/src/Elasticsearch/Endpoints/Cat/NodeAttrs.php +++ b/src/Elasticsearch/Endpoints/Cat/NodeAttrs.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class NodeAttrs extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cat/Nodes.php b/src/Elasticsearch/Endpoints/Cat/Nodes.php index 048c91e8f..446cf783d 100644 --- a/src/Elasticsearch/Endpoints/Cat/Nodes.php +++ b/src/Elasticsearch/Endpoints/Cat/Nodes.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Nodes extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cat/PendingTasks.php b/src/Elasticsearch/Endpoints/Cat/PendingTasks.php index 5ccaaaf7d..44c8e00d7 100644 --- a/src/Elasticsearch/Endpoints/Cat/PendingTasks.php +++ b/src/Elasticsearch/Endpoints/Cat/PendingTasks.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PendingTasks extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cat/Plugins.php b/src/Elasticsearch/Endpoints/Cat/Plugins.php index 59d5278f9..84e7df617 100644 --- a/src/Elasticsearch/Endpoints/Cat/Plugins.php +++ b/src/Elasticsearch/Endpoints/Cat/Plugins.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Plugins extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cat/Recovery.php b/src/Elasticsearch/Endpoints/Cat/Recovery.php index 4a95487ba..0f48c74cd 100644 --- a/src/Elasticsearch/Endpoints/Cat/Recovery.php +++ b/src/Elasticsearch/Endpoints/Cat/Recovery.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Recovery extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cat/Repositories.php b/src/Elasticsearch/Endpoints/Cat/Repositories.php index 509124159..30effcbe9 100644 --- a/src/Elasticsearch/Endpoints/Cat/Repositories.php +++ b/src/Elasticsearch/Endpoints/Cat/Repositories.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Repositories extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cat/Segments.php b/src/Elasticsearch/Endpoints/Cat/Segments.php index 886ea873e..3bd673fe5 100644 --- a/src/Elasticsearch/Endpoints/Cat/Segments.php +++ b/src/Elasticsearch/Endpoints/Cat/Segments.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Segments extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cat/Shards.php b/src/Elasticsearch/Endpoints/Cat/Shards.php index ace6d515b..c6ecfb037 100644 --- a/src/Elasticsearch/Endpoints/Cat/Shards.php +++ b/src/Elasticsearch/Endpoints/Cat/Shards.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Shards extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cat/Snapshots.php b/src/Elasticsearch/Endpoints/Cat/Snapshots.php index d2849d5fb..ba36c5dc8 100644 --- a/src/Elasticsearch/Endpoints/Cat/Snapshots.php +++ b/src/Elasticsearch/Endpoints/Cat/Snapshots.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Snapshots extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cat/Tasks.php b/src/Elasticsearch/Endpoints/Cat/Tasks.php index aa395f43b..7d830ecec 100644 --- a/src/Elasticsearch/Endpoints/Cat/Tasks.php +++ b/src/Elasticsearch/Endpoints/Cat/Tasks.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Tasks extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cat/Templates.php b/src/Elasticsearch/Endpoints/Cat/Templates.php index ac2f1dfab..949bdeb9f 100644 --- a/src/Elasticsearch/Endpoints/Cat/Templates.php +++ b/src/Elasticsearch/Endpoints/Cat/Templates.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Templates extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cat/ThreadPool.php b/src/Elasticsearch/Endpoints/Cat/ThreadPool.php index 485e452e2..389a766db 100644 --- a/src/Elasticsearch/Endpoints/Cat/ThreadPool.php +++ b/src/Elasticsearch/Endpoints/Cat/ThreadPool.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ThreadPool extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cat/Transforms.php b/src/Elasticsearch/Endpoints/Cat/Transforms.php index aee91e2a0..ea7b0501c 100644 --- a/src/Elasticsearch/Endpoints/Cat/Transforms.php +++ b/src/Elasticsearch/Endpoints/Cat/Transforms.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Transforms extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ccr/DeleteAutoFollowPattern.php b/src/Elasticsearch/Endpoints/Ccr/DeleteAutoFollowPattern.php index 11dbaa6eb..8d9ec2531 100644 --- a/src/Elasticsearch/Endpoints/Ccr/DeleteAutoFollowPattern.php +++ b/src/Elasticsearch/Endpoints/Ccr/DeleteAutoFollowPattern.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeleteAutoFollowPattern extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ccr/Follow.php b/src/Elasticsearch/Endpoints/Ccr/Follow.php index be9b6eb95..aafea5acf 100644 --- a/src/Elasticsearch/Endpoints/Ccr/Follow.php +++ b/src/Elasticsearch/Endpoints/Ccr/Follow.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Follow extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ccr/FollowInfo.php b/src/Elasticsearch/Endpoints/Ccr/FollowInfo.php index 79068f71e..b82ad416f 100644 --- a/src/Elasticsearch/Endpoints/Ccr/FollowInfo.php +++ b/src/Elasticsearch/Endpoints/Ccr/FollowInfo.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class FollowInfo extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ccr/FollowStats.php b/src/Elasticsearch/Endpoints/Ccr/FollowStats.php index 822dafd88..0e2d76f86 100644 --- a/src/Elasticsearch/Endpoints/Ccr/FollowStats.php +++ b/src/Elasticsearch/Endpoints/Ccr/FollowStats.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class FollowStats extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ccr/ForgetFollower.php b/src/Elasticsearch/Endpoints/Ccr/ForgetFollower.php index 57a7d1ff8..7cf022034 100644 --- a/src/Elasticsearch/Endpoints/Ccr/ForgetFollower.php +++ b/src/Elasticsearch/Endpoints/Ccr/ForgetFollower.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ForgetFollower extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ccr/GetAutoFollowPattern.php b/src/Elasticsearch/Endpoints/Ccr/GetAutoFollowPattern.php index a9f798d7d..9c87ffb11 100644 --- a/src/Elasticsearch/Endpoints/Ccr/GetAutoFollowPattern.php +++ b/src/Elasticsearch/Endpoints/Ccr/GetAutoFollowPattern.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetAutoFollowPattern extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ccr/PauseAutoFollowPattern.php b/src/Elasticsearch/Endpoints/Ccr/PauseAutoFollowPattern.php index 0167ae012..a21c7dd41 100644 --- a/src/Elasticsearch/Endpoints/Ccr/PauseAutoFollowPattern.php +++ b/src/Elasticsearch/Endpoints/Ccr/PauseAutoFollowPattern.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PauseAutoFollowPattern extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ccr/PauseFollow.php b/src/Elasticsearch/Endpoints/Ccr/PauseFollow.php index 8a40010c0..eef7e252f 100644 --- a/src/Elasticsearch/Endpoints/Ccr/PauseFollow.php +++ b/src/Elasticsearch/Endpoints/Ccr/PauseFollow.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PauseFollow extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ccr/PutAutoFollowPattern.php b/src/Elasticsearch/Endpoints/Ccr/PutAutoFollowPattern.php index 4babcc3f6..fe58fe6ac 100644 --- a/src/Elasticsearch/Endpoints/Ccr/PutAutoFollowPattern.php +++ b/src/Elasticsearch/Endpoints/Ccr/PutAutoFollowPattern.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PutAutoFollowPattern extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ccr/ResumeAutoFollowPattern.php b/src/Elasticsearch/Endpoints/Ccr/ResumeAutoFollowPattern.php index 55a1fd16a..bab9058b0 100644 --- a/src/Elasticsearch/Endpoints/Ccr/ResumeAutoFollowPattern.php +++ b/src/Elasticsearch/Endpoints/Ccr/ResumeAutoFollowPattern.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ResumeAutoFollowPattern extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ccr/ResumeFollow.php b/src/Elasticsearch/Endpoints/Ccr/ResumeFollow.php index 5184a801c..5f850288c 100644 --- a/src/Elasticsearch/Endpoints/Ccr/ResumeFollow.php +++ b/src/Elasticsearch/Endpoints/Ccr/ResumeFollow.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ResumeFollow extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ccr/Stats.php b/src/Elasticsearch/Endpoints/Ccr/Stats.php index 67c5c3424..996f5c6f2 100644 --- a/src/Elasticsearch/Endpoints/Ccr/Stats.php +++ b/src/Elasticsearch/Endpoints/Ccr/Stats.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Stats extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ccr/Unfollow.php b/src/Elasticsearch/Endpoints/Ccr/Unfollow.php index a07a10bc9..4a3f7862a 100644 --- a/src/Elasticsearch/Endpoints/Ccr/Unfollow.php +++ b/src/Elasticsearch/Endpoints/Ccr/Unfollow.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Unfollow extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/ClearScroll.php b/src/Elasticsearch/Endpoints/ClearScroll.php index b38e152bf..ef60e94ef 100644 --- a/src/Elasticsearch/Endpoints/ClearScroll.php +++ b/src/Elasticsearch/Endpoints/ClearScroll.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ClearScroll extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cluster/AllocationExplain.php b/src/Elasticsearch/Endpoints/Cluster/AllocationExplain.php index 693016c2a..e802e0469 100644 --- a/src/Elasticsearch/Endpoints/Cluster/AllocationExplain.php +++ b/src/Elasticsearch/Endpoints/Cluster/AllocationExplain.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class AllocationExplain extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cluster/DeleteComponentTemplate.php b/src/Elasticsearch/Endpoints/Cluster/DeleteComponentTemplate.php index dc3109d72..654d869ac 100644 --- a/src/Elasticsearch/Endpoints/Cluster/DeleteComponentTemplate.php +++ b/src/Elasticsearch/Endpoints/Cluster/DeleteComponentTemplate.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeleteComponentTemplate extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cluster/DeleteVotingConfigExclusions.php b/src/Elasticsearch/Endpoints/Cluster/DeleteVotingConfigExclusions.php index b09553e19..5d0738e7c 100644 --- a/src/Elasticsearch/Endpoints/Cluster/DeleteVotingConfigExclusions.php +++ b/src/Elasticsearch/Endpoints/Cluster/DeleteVotingConfigExclusions.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeleteVotingConfigExclusions extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cluster/ExistsComponentTemplate.php b/src/Elasticsearch/Endpoints/Cluster/ExistsComponentTemplate.php index d7d3faab1..32730df3f 100644 --- a/src/Elasticsearch/Endpoints/Cluster/ExistsComponentTemplate.php +++ b/src/Elasticsearch/Endpoints/Cluster/ExistsComponentTemplate.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ExistsComponentTemplate extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cluster/GetComponentTemplate.php b/src/Elasticsearch/Endpoints/Cluster/GetComponentTemplate.php index 640979ff1..55a7beea6 100644 --- a/src/Elasticsearch/Endpoints/Cluster/GetComponentTemplate.php +++ b/src/Elasticsearch/Endpoints/Cluster/GetComponentTemplate.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetComponentTemplate extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cluster/GetSettings.php b/src/Elasticsearch/Endpoints/Cluster/GetSettings.php index 4c2af6d77..6ff665e8f 100644 --- a/src/Elasticsearch/Endpoints/Cluster/GetSettings.php +++ b/src/Elasticsearch/Endpoints/Cluster/GetSettings.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetSettings extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cluster/Health.php b/src/Elasticsearch/Endpoints/Cluster/Health.php index f0ef09844..2f074fa78 100644 --- a/src/Elasticsearch/Endpoints/Cluster/Health.php +++ b/src/Elasticsearch/Endpoints/Cluster/Health.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Health extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cluster/PendingTasks.php b/src/Elasticsearch/Endpoints/Cluster/PendingTasks.php index 55893ed9a..7b73107b5 100644 --- a/src/Elasticsearch/Endpoints/Cluster/PendingTasks.php +++ b/src/Elasticsearch/Endpoints/Cluster/PendingTasks.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PendingTasks extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cluster/PostVotingConfigExclusions.php b/src/Elasticsearch/Endpoints/Cluster/PostVotingConfigExclusions.php index ce8233684..64bd6ea8d 100644 --- a/src/Elasticsearch/Endpoints/Cluster/PostVotingConfigExclusions.php +++ b/src/Elasticsearch/Endpoints/Cluster/PostVotingConfigExclusions.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PostVotingConfigExclusions extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cluster/PutComponentTemplate.php b/src/Elasticsearch/Endpoints/Cluster/PutComponentTemplate.php index 8ff9b9803..152c4a306 100644 --- a/src/Elasticsearch/Endpoints/Cluster/PutComponentTemplate.php +++ b/src/Elasticsearch/Endpoints/Cluster/PutComponentTemplate.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PutComponentTemplate extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cluster/PutSettings.php b/src/Elasticsearch/Endpoints/Cluster/PutSettings.php index 60b2997c8..47b21b57f 100644 --- a/src/Elasticsearch/Endpoints/Cluster/PutSettings.php +++ b/src/Elasticsearch/Endpoints/Cluster/PutSettings.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PutSettings extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cluster/RemoteInfo.php b/src/Elasticsearch/Endpoints/Cluster/RemoteInfo.php index c7741e24f..90b160df3 100644 --- a/src/Elasticsearch/Endpoints/Cluster/RemoteInfo.php +++ b/src/Elasticsearch/Endpoints/Cluster/RemoteInfo.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class RemoteInfo extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cluster/Reroute.php b/src/Elasticsearch/Endpoints/Cluster/Reroute.php index 9d8aa8657..c8bed7b0d 100644 --- a/src/Elasticsearch/Endpoints/Cluster/Reroute.php +++ b/src/Elasticsearch/Endpoints/Cluster/Reroute.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Reroute extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cluster/State.php b/src/Elasticsearch/Endpoints/Cluster/State.php index dba5e4880..b9510ef7c 100644 --- a/src/Elasticsearch/Endpoints/Cluster/State.php +++ b/src/Elasticsearch/Endpoints/Cluster/State.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class State extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Cluster/Stats.php b/src/Elasticsearch/Endpoints/Cluster/Stats.php index e600e0075..f364d26eb 100644 --- a/src/Elasticsearch/Endpoints/Cluster/Stats.php +++ b/src/Elasticsearch/Endpoints/Cluster/Stats.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Stats extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Count.php b/src/Elasticsearch/Endpoints/Count.php index 7e11188c2..a8f3ec1c3 100644 --- a/src/Elasticsearch/Endpoints/Count.php +++ b/src/Elasticsearch/Endpoints/Count.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Count extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Create.php b/src/Elasticsearch/Endpoints/Create.php index 2904cefdf..a8a06b8a7 100644 --- a/src/Elasticsearch/Endpoints/Create.php +++ b/src/Elasticsearch/Endpoints/Create.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Create extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/DanglingIndices/DeleteDanglingIndex.php b/src/Elasticsearch/Endpoints/DanglingIndices/DeleteDanglingIndex.php index 3973f67c1..f617de0a6 100644 --- a/src/Elasticsearch/Endpoints/DanglingIndices/DeleteDanglingIndex.php +++ b/src/Elasticsearch/Endpoints/DanglingIndices/DeleteDanglingIndex.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeleteDanglingIndex extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/DanglingIndices/ImportDanglingIndex.php b/src/Elasticsearch/Endpoints/DanglingIndices/ImportDanglingIndex.php index b867aa747..dc0753af6 100644 --- a/src/Elasticsearch/Endpoints/DanglingIndices/ImportDanglingIndex.php +++ b/src/Elasticsearch/Endpoints/DanglingIndices/ImportDanglingIndex.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ImportDanglingIndex extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/DanglingIndices/ListDanglingIndices.php b/src/Elasticsearch/Endpoints/DanglingIndices/ListDanglingIndices.php index 9682cdab6..adf346554 100644 --- a/src/Elasticsearch/Endpoints/DanglingIndices/ListDanglingIndices.php +++ b/src/Elasticsearch/Endpoints/DanglingIndices/ListDanglingIndices.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ListDanglingIndices extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/DeleteTransform.php b/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/DeleteTransform.php index c6b937ad2..baa908baa 100644 --- a/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/DeleteTransform.php +++ b/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/DeleteTransform.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeleteTransform extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/GetTransform.php b/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/GetTransform.php index dc749cda2..4cc1d5784 100644 --- a/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/GetTransform.php +++ b/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/GetTransform.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetTransform extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/GetTransformStats.php b/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/GetTransformStats.php index 3ab3ac10a..50a599cc8 100644 --- a/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/GetTransformStats.php +++ b/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/GetTransformStats.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetTransformStats extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/PreviewTransform.php b/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/PreviewTransform.php index 7e2d07475..198aa211e 100644 --- a/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/PreviewTransform.php +++ b/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/PreviewTransform.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PreviewTransform extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/PutTransform.php b/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/PutTransform.php index 829b2c79b..efe09f928 100644 --- a/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/PutTransform.php +++ b/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/PutTransform.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PutTransform extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/StartTransform.php b/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/StartTransform.php index 3f280b5b4..34f453a1e 100644 --- a/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/StartTransform.php +++ b/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/StartTransform.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class StartTransform extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/StopTransform.php b/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/StopTransform.php index dfec5d91e..bec110831 100644 --- a/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/StopTransform.php +++ b/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/StopTransform.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class StopTransform extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/UpdateTransform.php b/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/UpdateTransform.php index 9ce2e5900..d54ae1e9f 100644 --- a/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/UpdateTransform.php +++ b/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/UpdateTransform.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class UpdateTransform extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Delete.php b/src/Elasticsearch/Endpoints/Delete.php index 1c49155a2..9f331909b 100644 --- a/src/Elasticsearch/Endpoints/Delete.php +++ b/src/Elasticsearch/Endpoints/Delete.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Delete extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/DeleteByQuery.php b/src/Elasticsearch/Endpoints/DeleteByQuery.php index 76fde8f25..a5995f39c 100644 --- a/src/Elasticsearch/Endpoints/DeleteByQuery.php +++ b/src/Elasticsearch/Endpoints/DeleteByQuery.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeleteByQuery extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/DeleteByQueryRethrottle.php b/src/Elasticsearch/Endpoints/DeleteByQueryRethrottle.php index 05f8ba990..bc3efb6f7 100644 --- a/src/Elasticsearch/Endpoints/DeleteByQueryRethrottle.php +++ b/src/Elasticsearch/Endpoints/DeleteByQueryRethrottle.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeleteByQueryRethrottle extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/DeleteScript.php b/src/Elasticsearch/Endpoints/DeleteScript.php index 40fa94b5b..7108c3497 100644 --- a/src/Elasticsearch/Endpoints/DeleteScript.php +++ b/src/Elasticsearch/Endpoints/DeleteScript.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeleteScript extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Enrich/DeletePolicy.php b/src/Elasticsearch/Endpoints/Enrich/DeletePolicy.php index c76b4c945..9b07d0c2d 100644 --- a/src/Elasticsearch/Endpoints/Enrich/DeletePolicy.php +++ b/src/Elasticsearch/Endpoints/Enrich/DeletePolicy.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeletePolicy extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Enrich/ExecutePolicy.php b/src/Elasticsearch/Endpoints/Enrich/ExecutePolicy.php index 1f0243e83..78b75238c 100644 --- a/src/Elasticsearch/Endpoints/Enrich/ExecutePolicy.php +++ b/src/Elasticsearch/Endpoints/Enrich/ExecutePolicy.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ExecutePolicy extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Enrich/GetPolicy.php b/src/Elasticsearch/Endpoints/Enrich/GetPolicy.php index acb2a71f7..62c35c28f 100644 --- a/src/Elasticsearch/Endpoints/Enrich/GetPolicy.php +++ b/src/Elasticsearch/Endpoints/Enrich/GetPolicy.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetPolicy extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Enrich/PutPolicy.php b/src/Elasticsearch/Endpoints/Enrich/PutPolicy.php index 62ff2e12b..6f1f2d3ea 100644 --- a/src/Elasticsearch/Endpoints/Enrich/PutPolicy.php +++ b/src/Elasticsearch/Endpoints/Enrich/PutPolicy.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PutPolicy extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Enrich/Stats.php b/src/Elasticsearch/Endpoints/Enrich/Stats.php index 4717f71e6..2b41aa8e9 100644 --- a/src/Elasticsearch/Endpoints/Enrich/Stats.php +++ b/src/Elasticsearch/Endpoints/Enrich/Stats.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Stats extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Eql/Delete.php b/src/Elasticsearch/Endpoints/Eql/Delete.php index fc7ac9972..76d28ad69 100644 --- a/src/Elasticsearch/Endpoints/Eql/Delete.php +++ b/src/Elasticsearch/Endpoints/Eql/Delete.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Delete extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Eql/Get.php b/src/Elasticsearch/Endpoints/Eql/Get.php index fda4eafc3..6c4df65f1 100644 --- a/src/Elasticsearch/Endpoints/Eql/Get.php +++ b/src/Elasticsearch/Endpoints/Eql/Get.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Get extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Eql/Search.php b/src/Elasticsearch/Endpoints/Eql/Search.php index ce5e1c5b4..5e9019150 100644 --- a/src/Elasticsearch/Endpoints/Eql/Search.php +++ b/src/Elasticsearch/Endpoints/Eql/Search.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Search extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Exists.php b/src/Elasticsearch/Endpoints/Exists.php index c0601e194..689e3e90f 100644 --- a/src/Elasticsearch/Endpoints/Exists.php +++ b/src/Elasticsearch/Endpoints/Exists.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Exists extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/ExistsSource.php b/src/Elasticsearch/Endpoints/ExistsSource.php index 0c590f428..413612126 100644 --- a/src/Elasticsearch/Endpoints/ExistsSource.php +++ b/src/Elasticsearch/Endpoints/ExistsSource.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ExistsSource extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Explain.php b/src/Elasticsearch/Endpoints/Explain.php index 169a351dc..478395eda 100644 --- a/src/Elasticsearch/Endpoints/Explain.php +++ b/src/Elasticsearch/Endpoints/Explain.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Explain extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/FieldCaps.php b/src/Elasticsearch/Endpoints/FieldCaps.php index c32d47eff..bfca4499b 100644 --- a/src/Elasticsearch/Endpoints/FieldCaps.php +++ b/src/Elasticsearch/Endpoints/FieldCaps.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class FieldCaps extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Get.php b/src/Elasticsearch/Endpoints/Get.php index 00a5b79d2..f2af10e77 100644 --- a/src/Elasticsearch/Endpoints/Get.php +++ b/src/Elasticsearch/Endpoints/Get.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Get extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/GetScript.php b/src/Elasticsearch/Endpoints/GetScript.php index e6c05c38d..0500dd360 100644 --- a/src/Elasticsearch/Endpoints/GetScript.php +++ b/src/Elasticsearch/Endpoints/GetScript.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetScript extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/GetScriptContext.php b/src/Elasticsearch/Endpoints/GetScriptContext.php index 2a71ff360..365c6185c 100644 --- a/src/Elasticsearch/Endpoints/GetScriptContext.php +++ b/src/Elasticsearch/Endpoints/GetScriptContext.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetScriptContext extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/GetScriptLanguages.php b/src/Elasticsearch/Endpoints/GetScriptLanguages.php index c751f639f..6011d8f0f 100644 --- a/src/Elasticsearch/Endpoints/GetScriptLanguages.php +++ b/src/Elasticsearch/Endpoints/GetScriptLanguages.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetScriptLanguages extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/GetSource.php b/src/Elasticsearch/Endpoints/GetSource.php index 543f2e567..751f9717a 100644 --- a/src/Elasticsearch/Endpoints/GetSource.php +++ b/src/Elasticsearch/Endpoints/GetSource.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetSource extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Graph/Explore.php b/src/Elasticsearch/Endpoints/Graph/Explore.php index a49544217..c18a2fe7b 100644 --- a/src/Elasticsearch/Endpoints/Graph/Explore.php +++ b/src/Elasticsearch/Endpoints/Graph/Explore.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Explore extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ilm/DeleteLifecycle.php b/src/Elasticsearch/Endpoints/Ilm/DeleteLifecycle.php index 564417537..37f2a7c9b 100644 --- a/src/Elasticsearch/Endpoints/Ilm/DeleteLifecycle.php +++ b/src/Elasticsearch/Endpoints/Ilm/DeleteLifecycle.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeleteLifecycle extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ilm/ExplainLifecycle.php b/src/Elasticsearch/Endpoints/Ilm/ExplainLifecycle.php index 5c837993d..1e6391a82 100644 --- a/src/Elasticsearch/Endpoints/Ilm/ExplainLifecycle.php +++ b/src/Elasticsearch/Endpoints/Ilm/ExplainLifecycle.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ExplainLifecycle extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ilm/GetLifecycle.php b/src/Elasticsearch/Endpoints/Ilm/GetLifecycle.php index 75b08769d..fa567a813 100644 --- a/src/Elasticsearch/Endpoints/Ilm/GetLifecycle.php +++ b/src/Elasticsearch/Endpoints/Ilm/GetLifecycle.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetLifecycle extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ilm/GetStatus.php b/src/Elasticsearch/Endpoints/Ilm/GetStatus.php index db421aa50..4fc7258ec 100644 --- a/src/Elasticsearch/Endpoints/Ilm/GetStatus.php +++ b/src/Elasticsearch/Endpoints/Ilm/GetStatus.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetStatus extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ilm/MoveToStep.php b/src/Elasticsearch/Endpoints/Ilm/MoveToStep.php index 899e45531..b24422b94 100644 --- a/src/Elasticsearch/Endpoints/Ilm/MoveToStep.php +++ b/src/Elasticsearch/Endpoints/Ilm/MoveToStep.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class MoveToStep extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ilm/PutLifecycle.php b/src/Elasticsearch/Endpoints/Ilm/PutLifecycle.php index fac84eedc..2b231e179 100644 --- a/src/Elasticsearch/Endpoints/Ilm/PutLifecycle.php +++ b/src/Elasticsearch/Endpoints/Ilm/PutLifecycle.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PutLifecycle extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ilm/RemovePolicy.php b/src/Elasticsearch/Endpoints/Ilm/RemovePolicy.php index 9fcb56a03..524452c27 100644 --- a/src/Elasticsearch/Endpoints/Ilm/RemovePolicy.php +++ b/src/Elasticsearch/Endpoints/Ilm/RemovePolicy.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class RemovePolicy extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ilm/Retry.php b/src/Elasticsearch/Endpoints/Ilm/Retry.php index e492b8bf8..12e0c79a1 100644 --- a/src/Elasticsearch/Endpoints/Ilm/Retry.php +++ b/src/Elasticsearch/Endpoints/Ilm/Retry.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Retry extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ilm/Start.php b/src/Elasticsearch/Endpoints/Ilm/Start.php index d050e4db0..275470ce5 100644 --- a/src/Elasticsearch/Endpoints/Ilm/Start.php +++ b/src/Elasticsearch/Endpoints/Ilm/Start.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Start extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ilm/Stop.php b/src/Elasticsearch/Endpoints/Ilm/Stop.php index b23852f27..a4ea572ff 100644 --- a/src/Elasticsearch/Endpoints/Ilm/Stop.php +++ b/src/Elasticsearch/Endpoints/Ilm/Stop.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Stop extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Index.php b/src/Elasticsearch/Endpoints/Index.php index 3e81b2315..28f1a3986 100644 --- a/src/Elasticsearch/Endpoints/Index.php +++ b/src/Elasticsearch/Endpoints/Index.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Index extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/AddBlock.php b/src/Elasticsearch/Endpoints/Indices/AddBlock.php index c6c6bad8c..1864ab085 100644 --- a/src/Elasticsearch/Endpoints/Indices/AddBlock.php +++ b/src/Elasticsearch/Endpoints/Indices/AddBlock.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class AddBlock extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/Analyze.php b/src/Elasticsearch/Endpoints/Indices/Analyze.php index f0f74cced..bc365fd47 100644 --- a/src/Elasticsearch/Endpoints/Indices/Analyze.php +++ b/src/Elasticsearch/Endpoints/Indices/Analyze.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Analyze extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/ClearCache.php b/src/Elasticsearch/Endpoints/Indices/ClearCache.php index 59986a89c..335ea1687 100644 --- a/src/Elasticsearch/Endpoints/Indices/ClearCache.php +++ b/src/Elasticsearch/Endpoints/Indices/ClearCache.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ClearCache extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/CloneIndices.php b/src/Elasticsearch/Endpoints/Indices/CloneIndices.php index 429eafe79..4c35542d8 100644 --- a/src/Elasticsearch/Endpoints/Indices/CloneIndices.php +++ b/src/Elasticsearch/Endpoints/Indices/CloneIndices.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class CloneIndices extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/Close.php b/src/Elasticsearch/Endpoints/Indices/Close.php index ef1ba7ca7..fafa88fb4 100644 --- a/src/Elasticsearch/Endpoints/Indices/Close.php +++ b/src/Elasticsearch/Endpoints/Indices/Close.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Close extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/Create.php b/src/Elasticsearch/Endpoints/Indices/Create.php index 5ba515f08..d13b01fb8 100644 --- a/src/Elasticsearch/Endpoints/Indices/Create.php +++ b/src/Elasticsearch/Endpoints/Indices/Create.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Create extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/CreateDataStream.php b/src/Elasticsearch/Endpoints/Indices/CreateDataStream.php index e35dc4505..6b5e3b5a2 100644 --- a/src/Elasticsearch/Endpoints/Indices/CreateDataStream.php +++ b/src/Elasticsearch/Endpoints/Indices/CreateDataStream.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class CreateDataStream extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/DataStreamsStats.php b/src/Elasticsearch/Endpoints/Indices/DataStreamsStats.php index ceffdc882..01f826f6d 100644 --- a/src/Elasticsearch/Endpoints/Indices/DataStreamsStats.php +++ b/src/Elasticsearch/Endpoints/Indices/DataStreamsStats.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DataStreamsStats extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/Delete.php b/src/Elasticsearch/Endpoints/Indices/Delete.php index dc5f9012f..997f4fbc2 100644 --- a/src/Elasticsearch/Endpoints/Indices/Delete.php +++ b/src/Elasticsearch/Endpoints/Indices/Delete.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Delete extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/DeleteAlias.php b/src/Elasticsearch/Endpoints/Indices/DeleteAlias.php index 3a5b30df0..a48005df4 100644 --- a/src/Elasticsearch/Endpoints/Indices/DeleteAlias.php +++ b/src/Elasticsearch/Endpoints/Indices/DeleteAlias.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeleteAlias extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/DeleteDataStream.php b/src/Elasticsearch/Endpoints/Indices/DeleteDataStream.php index 7da1af590..476e5172b 100644 --- a/src/Elasticsearch/Endpoints/Indices/DeleteDataStream.php +++ b/src/Elasticsearch/Endpoints/Indices/DeleteDataStream.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeleteDataStream extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/DeleteIndexTemplate.php b/src/Elasticsearch/Endpoints/Indices/DeleteIndexTemplate.php index 2933bc8b3..f36544643 100644 --- a/src/Elasticsearch/Endpoints/Indices/DeleteIndexTemplate.php +++ b/src/Elasticsearch/Endpoints/Indices/DeleteIndexTemplate.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeleteIndexTemplate extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/DeleteTemplate.php b/src/Elasticsearch/Endpoints/Indices/DeleteTemplate.php index 82e6ad2fa..b4507517a 100644 --- a/src/Elasticsearch/Endpoints/Indices/DeleteTemplate.php +++ b/src/Elasticsearch/Endpoints/Indices/DeleteTemplate.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeleteTemplate extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/Exists.php b/src/Elasticsearch/Endpoints/Indices/Exists.php index 06e729185..ac9f45980 100644 --- a/src/Elasticsearch/Endpoints/Indices/Exists.php +++ b/src/Elasticsearch/Endpoints/Indices/Exists.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Exists extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/ExistsAlias.php b/src/Elasticsearch/Endpoints/Indices/ExistsAlias.php index 5fb368c7a..18d154ff7 100644 --- a/src/Elasticsearch/Endpoints/Indices/ExistsAlias.php +++ b/src/Elasticsearch/Endpoints/Indices/ExistsAlias.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ExistsAlias extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/ExistsIndexTemplate.php b/src/Elasticsearch/Endpoints/Indices/ExistsIndexTemplate.php index 75d6e1f1f..821390e7d 100644 --- a/src/Elasticsearch/Endpoints/Indices/ExistsIndexTemplate.php +++ b/src/Elasticsearch/Endpoints/Indices/ExistsIndexTemplate.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ExistsIndexTemplate extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/ExistsTemplate.php b/src/Elasticsearch/Endpoints/Indices/ExistsTemplate.php index 6d732066b..d7b4bb5e0 100644 --- a/src/Elasticsearch/Endpoints/Indices/ExistsTemplate.php +++ b/src/Elasticsearch/Endpoints/Indices/ExistsTemplate.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ExistsTemplate extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/ExistsType.php b/src/Elasticsearch/Endpoints/Indices/ExistsType.php index c347faee9..05524bd54 100644 --- a/src/Elasticsearch/Endpoints/Indices/ExistsType.php +++ b/src/Elasticsearch/Endpoints/Indices/ExistsType.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ExistsType extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/Flush.php b/src/Elasticsearch/Endpoints/Indices/Flush.php index 779b87c17..e06874b86 100644 --- a/src/Elasticsearch/Endpoints/Indices/Flush.php +++ b/src/Elasticsearch/Endpoints/Indices/Flush.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Flush extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/FlushSynced.php b/src/Elasticsearch/Endpoints/Indices/FlushSynced.php index a69e1f1de..11bb0f7de 100644 --- a/src/Elasticsearch/Endpoints/Indices/FlushSynced.php +++ b/src/Elasticsearch/Endpoints/Indices/FlushSynced.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class FlushSynced extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/ForceMerge.php b/src/Elasticsearch/Endpoints/Indices/ForceMerge.php index e29dffbba..c439c9af2 100644 --- a/src/Elasticsearch/Endpoints/Indices/ForceMerge.php +++ b/src/Elasticsearch/Endpoints/Indices/ForceMerge.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ForceMerge extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/Freeze.php b/src/Elasticsearch/Endpoints/Indices/Freeze.php index 2ac595e3b..b22bcd919 100644 --- a/src/Elasticsearch/Endpoints/Indices/Freeze.php +++ b/src/Elasticsearch/Endpoints/Indices/Freeze.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Freeze extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/Get.php b/src/Elasticsearch/Endpoints/Indices/Get.php index 66f78e604..a9ac03a16 100644 --- a/src/Elasticsearch/Endpoints/Indices/Get.php +++ b/src/Elasticsearch/Endpoints/Indices/Get.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Get extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/GetAlias.php b/src/Elasticsearch/Endpoints/Indices/GetAlias.php index 34f48df6d..f54414e73 100644 --- a/src/Elasticsearch/Endpoints/Indices/GetAlias.php +++ b/src/Elasticsearch/Endpoints/Indices/GetAlias.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetAlias extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/GetDataStream.php b/src/Elasticsearch/Endpoints/Indices/GetDataStream.php index ad7ca78cc..96c0aace5 100644 --- a/src/Elasticsearch/Endpoints/Indices/GetDataStream.php +++ b/src/Elasticsearch/Endpoints/Indices/GetDataStream.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetDataStream extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/GetFieldMapping.php b/src/Elasticsearch/Endpoints/Indices/GetFieldMapping.php index 61d43c4f5..fa44a1541 100644 --- a/src/Elasticsearch/Endpoints/Indices/GetFieldMapping.php +++ b/src/Elasticsearch/Endpoints/Indices/GetFieldMapping.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetFieldMapping extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/GetIndexTemplate.php b/src/Elasticsearch/Endpoints/Indices/GetIndexTemplate.php index 6ada91e68..c80ae0cdb 100644 --- a/src/Elasticsearch/Endpoints/Indices/GetIndexTemplate.php +++ b/src/Elasticsearch/Endpoints/Indices/GetIndexTemplate.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetIndexTemplate extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/GetMapping.php b/src/Elasticsearch/Endpoints/Indices/GetMapping.php index 07e982fac..26597ae72 100644 --- a/src/Elasticsearch/Endpoints/Indices/GetMapping.php +++ b/src/Elasticsearch/Endpoints/Indices/GetMapping.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetMapping extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/GetSettings.php b/src/Elasticsearch/Endpoints/Indices/GetSettings.php index 685221eb2..9ba2c3a3f 100644 --- a/src/Elasticsearch/Endpoints/Indices/GetSettings.php +++ b/src/Elasticsearch/Endpoints/Indices/GetSettings.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetSettings extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/GetTemplate.php b/src/Elasticsearch/Endpoints/Indices/GetTemplate.php index 60830f93f..41c5983c1 100644 --- a/src/Elasticsearch/Endpoints/Indices/GetTemplate.php +++ b/src/Elasticsearch/Endpoints/Indices/GetTemplate.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetTemplate extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/GetUpgrade.php b/src/Elasticsearch/Endpoints/Indices/GetUpgrade.php index 62e9e2fcd..d35d17ffd 100644 --- a/src/Elasticsearch/Endpoints/Indices/GetUpgrade.php +++ b/src/Elasticsearch/Endpoints/Indices/GetUpgrade.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetUpgrade extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/Open.php b/src/Elasticsearch/Endpoints/Indices/Open.php index 49eff5340..af39f9ff8 100644 --- a/src/Elasticsearch/Endpoints/Indices/Open.php +++ b/src/Elasticsearch/Endpoints/Indices/Open.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Open extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/PutAlias.php b/src/Elasticsearch/Endpoints/Indices/PutAlias.php index 701a30184..3f0a6455f 100644 --- a/src/Elasticsearch/Endpoints/Indices/PutAlias.php +++ b/src/Elasticsearch/Endpoints/Indices/PutAlias.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PutAlias extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/PutIndexTemplate.php b/src/Elasticsearch/Endpoints/Indices/PutIndexTemplate.php index 90b737cfa..67067abe6 100644 --- a/src/Elasticsearch/Endpoints/Indices/PutIndexTemplate.php +++ b/src/Elasticsearch/Endpoints/Indices/PutIndexTemplate.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PutIndexTemplate extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/PutMapping.php b/src/Elasticsearch/Endpoints/Indices/PutMapping.php index c0d73d6cb..05782db08 100644 --- a/src/Elasticsearch/Endpoints/Indices/PutMapping.php +++ b/src/Elasticsearch/Endpoints/Indices/PutMapping.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PutMapping extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/PutSettings.php b/src/Elasticsearch/Endpoints/Indices/PutSettings.php index dcbe4d964..14697ed1d 100644 --- a/src/Elasticsearch/Endpoints/Indices/PutSettings.php +++ b/src/Elasticsearch/Endpoints/Indices/PutSettings.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PutSettings extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/PutTemplate.php b/src/Elasticsearch/Endpoints/Indices/PutTemplate.php index de487e8f6..d8b14dfde 100644 --- a/src/Elasticsearch/Endpoints/Indices/PutTemplate.php +++ b/src/Elasticsearch/Endpoints/Indices/PutTemplate.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PutTemplate extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/Recovery.php b/src/Elasticsearch/Endpoints/Indices/Recovery.php index f2a8f4634..a26e74a05 100644 --- a/src/Elasticsearch/Endpoints/Indices/Recovery.php +++ b/src/Elasticsearch/Endpoints/Indices/Recovery.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Recovery extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/Refresh.php b/src/Elasticsearch/Endpoints/Indices/Refresh.php index 30197bb5b..ac1a4ad9e 100644 --- a/src/Elasticsearch/Endpoints/Indices/Refresh.php +++ b/src/Elasticsearch/Endpoints/Indices/Refresh.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Refresh extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/ReloadSearchAnalyzers.php b/src/Elasticsearch/Endpoints/Indices/ReloadSearchAnalyzers.php index 8d300591e..38b797b19 100644 --- a/src/Elasticsearch/Endpoints/Indices/ReloadSearchAnalyzers.php +++ b/src/Elasticsearch/Endpoints/Indices/ReloadSearchAnalyzers.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ReloadSearchAnalyzers extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/ResolveIndex.php b/src/Elasticsearch/Endpoints/Indices/ResolveIndex.php index f9375785c..6e8a6121d 100644 --- a/src/Elasticsearch/Endpoints/Indices/ResolveIndex.php +++ b/src/Elasticsearch/Endpoints/Indices/ResolveIndex.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ResolveIndex extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/Rollover.php b/src/Elasticsearch/Endpoints/Indices/Rollover.php index 531e59e83..6f3af6463 100644 --- a/src/Elasticsearch/Endpoints/Indices/Rollover.php +++ b/src/Elasticsearch/Endpoints/Indices/Rollover.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Rollover extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/Segments.php b/src/Elasticsearch/Endpoints/Indices/Segments.php index 40e12fedf..833dd6461 100644 --- a/src/Elasticsearch/Endpoints/Indices/Segments.php +++ b/src/Elasticsearch/Endpoints/Indices/Segments.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Segments extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/ShardStores.php b/src/Elasticsearch/Endpoints/Indices/ShardStores.php index 15376c5d7..3c425953d 100644 --- a/src/Elasticsearch/Endpoints/Indices/ShardStores.php +++ b/src/Elasticsearch/Endpoints/Indices/ShardStores.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ShardStores extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/Shrink.php b/src/Elasticsearch/Endpoints/Indices/Shrink.php index ad713ccaa..ad4e1f21d 100644 --- a/src/Elasticsearch/Endpoints/Indices/Shrink.php +++ b/src/Elasticsearch/Endpoints/Indices/Shrink.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Shrink extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/SimulateIndexTemplate.php b/src/Elasticsearch/Endpoints/Indices/SimulateIndexTemplate.php index 21a593c58..bc5180570 100644 --- a/src/Elasticsearch/Endpoints/Indices/SimulateIndexTemplate.php +++ b/src/Elasticsearch/Endpoints/Indices/SimulateIndexTemplate.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class SimulateIndexTemplate extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/SimulateTemplate.php b/src/Elasticsearch/Endpoints/Indices/SimulateTemplate.php index a860ef2d5..391b0f044 100644 --- a/src/Elasticsearch/Endpoints/Indices/SimulateTemplate.php +++ b/src/Elasticsearch/Endpoints/Indices/SimulateTemplate.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class SimulateTemplate extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/Split.php b/src/Elasticsearch/Endpoints/Indices/Split.php index 0aab16e31..ebe8d32f3 100644 --- a/src/Elasticsearch/Endpoints/Indices/Split.php +++ b/src/Elasticsearch/Endpoints/Indices/Split.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Split extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/Stats.php b/src/Elasticsearch/Endpoints/Indices/Stats.php index 69382db48..23dc9a9c6 100644 --- a/src/Elasticsearch/Endpoints/Indices/Stats.php +++ b/src/Elasticsearch/Endpoints/Indices/Stats.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Stats extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/Unfreeze.php b/src/Elasticsearch/Endpoints/Indices/Unfreeze.php index 7a5a38faf..ccac9ced6 100644 --- a/src/Elasticsearch/Endpoints/Indices/Unfreeze.php +++ b/src/Elasticsearch/Endpoints/Indices/Unfreeze.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Unfreeze extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/UpdateAliases.php b/src/Elasticsearch/Endpoints/Indices/UpdateAliases.php index a22a70a8c..823ade9e3 100644 --- a/src/Elasticsearch/Endpoints/Indices/UpdateAliases.php +++ b/src/Elasticsearch/Endpoints/Indices/UpdateAliases.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class UpdateAliases extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/Upgrade.php b/src/Elasticsearch/Endpoints/Indices/Upgrade.php index 23b01a9fe..18cb417ff 100644 --- a/src/Elasticsearch/Endpoints/Indices/Upgrade.php +++ b/src/Elasticsearch/Endpoints/Indices/Upgrade.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Upgrade extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Indices/ValidateQuery.php b/src/Elasticsearch/Endpoints/Indices/ValidateQuery.php index c699f3c0c..4139880cf 100644 --- a/src/Elasticsearch/Endpoints/Indices/ValidateQuery.php +++ b/src/Elasticsearch/Endpoints/Indices/ValidateQuery.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ValidateQuery extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Info.php b/src/Elasticsearch/Endpoints/Info.php index 1b6f28842..7288985a3 100644 --- a/src/Elasticsearch/Endpoints/Info.php +++ b/src/Elasticsearch/Endpoints/Info.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Info extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ingest/DeletePipeline.php b/src/Elasticsearch/Endpoints/Ingest/DeletePipeline.php index 40c2c86d6..8e3384ffd 100644 --- a/src/Elasticsearch/Endpoints/Ingest/DeletePipeline.php +++ b/src/Elasticsearch/Endpoints/Ingest/DeletePipeline.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeletePipeline extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ingest/GetPipeline.php b/src/Elasticsearch/Endpoints/Ingest/GetPipeline.php index 679c39ee6..67681780d 100644 --- a/src/Elasticsearch/Endpoints/Ingest/GetPipeline.php +++ b/src/Elasticsearch/Endpoints/Ingest/GetPipeline.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetPipeline extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ingest/ProcessorGrok.php b/src/Elasticsearch/Endpoints/Ingest/ProcessorGrok.php index 0661bfe65..4d29e8c1a 100644 --- a/src/Elasticsearch/Endpoints/Ingest/ProcessorGrok.php +++ b/src/Elasticsearch/Endpoints/Ingest/ProcessorGrok.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ProcessorGrok extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ingest/PutPipeline.php b/src/Elasticsearch/Endpoints/Ingest/PutPipeline.php index fbffc00b5..450fe9a0c 100644 --- a/src/Elasticsearch/Endpoints/Ingest/PutPipeline.php +++ b/src/Elasticsearch/Endpoints/Ingest/PutPipeline.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PutPipeline extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ingest/Simulate.php b/src/Elasticsearch/Endpoints/Ingest/Simulate.php index a2d21f67c..76473f2bb 100644 --- a/src/Elasticsearch/Endpoints/Ingest/Simulate.php +++ b/src/Elasticsearch/Endpoints/Ingest/Simulate.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Simulate extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/License/Delete.php b/src/Elasticsearch/Endpoints/License/Delete.php index 5dad40005..017dafd20 100644 --- a/src/Elasticsearch/Endpoints/License/Delete.php +++ b/src/Elasticsearch/Endpoints/License/Delete.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Delete extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/License/Get.php b/src/Elasticsearch/Endpoints/License/Get.php index aec8e217f..31e649b8c 100644 --- a/src/Elasticsearch/Endpoints/License/Get.php +++ b/src/Elasticsearch/Endpoints/License/Get.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Get extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/License/GetBasicStatus.php b/src/Elasticsearch/Endpoints/License/GetBasicStatus.php index 51e3575b6..e8c464129 100644 --- a/src/Elasticsearch/Endpoints/License/GetBasicStatus.php +++ b/src/Elasticsearch/Endpoints/License/GetBasicStatus.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetBasicStatus extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/License/GetTrialStatus.php b/src/Elasticsearch/Endpoints/License/GetTrialStatus.php index 011144cb4..3fd31404c 100644 --- a/src/Elasticsearch/Endpoints/License/GetTrialStatus.php +++ b/src/Elasticsearch/Endpoints/License/GetTrialStatus.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetTrialStatus extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/License/Post.php b/src/Elasticsearch/Endpoints/License/Post.php index c345d5c3e..b0a451b71 100644 --- a/src/Elasticsearch/Endpoints/License/Post.php +++ b/src/Elasticsearch/Endpoints/License/Post.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Post extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/License/PostStartBasic.php b/src/Elasticsearch/Endpoints/License/PostStartBasic.php index 1666bdc48..d61b30517 100644 --- a/src/Elasticsearch/Endpoints/License/PostStartBasic.php +++ b/src/Elasticsearch/Endpoints/License/PostStartBasic.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PostStartBasic extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/License/PostStartTrial.php b/src/Elasticsearch/Endpoints/License/PostStartTrial.php index 423951a96..1ca08acc4 100644 --- a/src/Elasticsearch/Endpoints/License/PostStartTrial.php +++ b/src/Elasticsearch/Endpoints/License/PostStartTrial.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PostStartTrial extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/MTermVectors.php b/src/Elasticsearch/Endpoints/MTermVectors.php index df127682a..4ff04d7ba 100644 --- a/src/Elasticsearch/Endpoints/MTermVectors.php +++ b/src/Elasticsearch/Endpoints/MTermVectors.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class MTermVectors extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Mget.php b/src/Elasticsearch/Endpoints/Mget.php index ed42c5f91..ef8c00898 100644 --- a/src/Elasticsearch/Endpoints/Mget.php +++ b/src/Elasticsearch/Endpoints/Mget.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Mget extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Migration/Deprecations.php b/src/Elasticsearch/Endpoints/Migration/Deprecations.php index 87aec6a10..479be8622 100644 --- a/src/Elasticsearch/Endpoints/Migration/Deprecations.php +++ b/src/Elasticsearch/Endpoints/Migration/Deprecations.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Deprecations extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/CloseJob.php b/src/Elasticsearch/Endpoints/Ml/CloseJob.php index 80e3453a6..92fc9d85d 100644 --- a/src/Elasticsearch/Endpoints/Ml/CloseJob.php +++ b/src/Elasticsearch/Endpoints/Ml/CloseJob.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class CloseJob extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/DeleteCalendar.php b/src/Elasticsearch/Endpoints/Ml/DeleteCalendar.php index 525b53cfb..77e3fc5b6 100644 --- a/src/Elasticsearch/Endpoints/Ml/DeleteCalendar.php +++ b/src/Elasticsearch/Endpoints/Ml/DeleteCalendar.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeleteCalendar extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/DeleteCalendarEvent.php b/src/Elasticsearch/Endpoints/Ml/DeleteCalendarEvent.php index 183a2bf55..07b6de15f 100644 --- a/src/Elasticsearch/Endpoints/Ml/DeleteCalendarEvent.php +++ b/src/Elasticsearch/Endpoints/Ml/DeleteCalendarEvent.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeleteCalendarEvent extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/DeleteCalendarJob.php b/src/Elasticsearch/Endpoints/Ml/DeleteCalendarJob.php index 1efeaec70..4f49a8980 100644 --- a/src/Elasticsearch/Endpoints/Ml/DeleteCalendarJob.php +++ b/src/Elasticsearch/Endpoints/Ml/DeleteCalendarJob.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeleteCalendarJob extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/DeleteDataFrameAnalytics.php b/src/Elasticsearch/Endpoints/Ml/DeleteDataFrameAnalytics.php index fdd0880d7..35657fe4c 100644 --- a/src/Elasticsearch/Endpoints/Ml/DeleteDataFrameAnalytics.php +++ b/src/Elasticsearch/Endpoints/Ml/DeleteDataFrameAnalytics.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeleteDataFrameAnalytics extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/DeleteDatafeed.php b/src/Elasticsearch/Endpoints/Ml/DeleteDatafeed.php index 74300ac52..e66f34b13 100644 --- a/src/Elasticsearch/Endpoints/Ml/DeleteDatafeed.php +++ b/src/Elasticsearch/Endpoints/Ml/DeleteDatafeed.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeleteDatafeed extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/DeleteExpiredData.php b/src/Elasticsearch/Endpoints/Ml/DeleteExpiredData.php index 6ca44a612..ecf3f715e 100644 --- a/src/Elasticsearch/Endpoints/Ml/DeleteExpiredData.php +++ b/src/Elasticsearch/Endpoints/Ml/DeleteExpiredData.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeleteExpiredData extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/DeleteFilter.php b/src/Elasticsearch/Endpoints/Ml/DeleteFilter.php index 78c9fc26c..45bdbcdd3 100644 --- a/src/Elasticsearch/Endpoints/Ml/DeleteFilter.php +++ b/src/Elasticsearch/Endpoints/Ml/DeleteFilter.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeleteFilter extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/DeleteForecast.php b/src/Elasticsearch/Endpoints/Ml/DeleteForecast.php index 5be48b788..df3a873a0 100644 --- a/src/Elasticsearch/Endpoints/Ml/DeleteForecast.php +++ b/src/Elasticsearch/Endpoints/Ml/DeleteForecast.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeleteForecast extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/DeleteJob.php b/src/Elasticsearch/Endpoints/Ml/DeleteJob.php index 1e01089eb..0ef53819d 100644 --- a/src/Elasticsearch/Endpoints/Ml/DeleteJob.php +++ b/src/Elasticsearch/Endpoints/Ml/DeleteJob.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeleteJob extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/DeleteModelSnapshot.php b/src/Elasticsearch/Endpoints/Ml/DeleteModelSnapshot.php index 8558a2de3..211e9de99 100644 --- a/src/Elasticsearch/Endpoints/Ml/DeleteModelSnapshot.php +++ b/src/Elasticsearch/Endpoints/Ml/DeleteModelSnapshot.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeleteModelSnapshot extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/DeleteTrainedModel.php b/src/Elasticsearch/Endpoints/Ml/DeleteTrainedModel.php index b35d6bf95..946515bbd 100644 --- a/src/Elasticsearch/Endpoints/Ml/DeleteTrainedModel.php +++ b/src/Elasticsearch/Endpoints/Ml/DeleteTrainedModel.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeleteTrainedModel extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/EstimateModelMemory.php b/src/Elasticsearch/Endpoints/Ml/EstimateModelMemory.php index 8bb6147fa..ab34b75a2 100644 --- a/src/Elasticsearch/Endpoints/Ml/EstimateModelMemory.php +++ b/src/Elasticsearch/Endpoints/Ml/EstimateModelMemory.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class EstimateModelMemory extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/EvaluateDataFrame.php b/src/Elasticsearch/Endpoints/Ml/EvaluateDataFrame.php index 66d61cc64..2b07df820 100644 --- a/src/Elasticsearch/Endpoints/Ml/EvaluateDataFrame.php +++ b/src/Elasticsearch/Endpoints/Ml/EvaluateDataFrame.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class EvaluateDataFrame extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/ExplainDataFrameAnalytics.php b/src/Elasticsearch/Endpoints/Ml/ExplainDataFrameAnalytics.php index 8c6763428..a970b3dab 100644 --- a/src/Elasticsearch/Endpoints/Ml/ExplainDataFrameAnalytics.php +++ b/src/Elasticsearch/Endpoints/Ml/ExplainDataFrameAnalytics.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ExplainDataFrameAnalytics extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/FindFileStructure.php b/src/Elasticsearch/Endpoints/Ml/FindFileStructure.php index 408ff082e..7015ab38d 100644 --- a/src/Elasticsearch/Endpoints/Ml/FindFileStructure.php +++ b/src/Elasticsearch/Endpoints/Ml/FindFileStructure.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class FindFileStructure extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/FlushJob.php b/src/Elasticsearch/Endpoints/Ml/FlushJob.php index 858d659ee..3e0662a3f 100644 --- a/src/Elasticsearch/Endpoints/Ml/FlushJob.php +++ b/src/Elasticsearch/Endpoints/Ml/FlushJob.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class FlushJob extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/Forecast.php b/src/Elasticsearch/Endpoints/Ml/Forecast.php index 3a077289b..6faa78a92 100644 --- a/src/Elasticsearch/Endpoints/Ml/Forecast.php +++ b/src/Elasticsearch/Endpoints/Ml/Forecast.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Forecast extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/GetBuckets.php b/src/Elasticsearch/Endpoints/Ml/GetBuckets.php index 293954981..92f798849 100644 --- a/src/Elasticsearch/Endpoints/Ml/GetBuckets.php +++ b/src/Elasticsearch/Endpoints/Ml/GetBuckets.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetBuckets extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/GetCalendarEvents.php b/src/Elasticsearch/Endpoints/Ml/GetCalendarEvents.php index 6873c65ee..05f4d9f1e 100644 --- a/src/Elasticsearch/Endpoints/Ml/GetCalendarEvents.php +++ b/src/Elasticsearch/Endpoints/Ml/GetCalendarEvents.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetCalendarEvents extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/GetCalendars.php b/src/Elasticsearch/Endpoints/Ml/GetCalendars.php index 669b9780c..7ef5ff8a0 100644 --- a/src/Elasticsearch/Endpoints/Ml/GetCalendars.php +++ b/src/Elasticsearch/Endpoints/Ml/GetCalendars.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetCalendars extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/GetCategories.php b/src/Elasticsearch/Endpoints/Ml/GetCategories.php index 483ef9edb..c2a59dc77 100644 --- a/src/Elasticsearch/Endpoints/Ml/GetCategories.php +++ b/src/Elasticsearch/Endpoints/Ml/GetCategories.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetCategories extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/GetDataFrameAnalytics.php b/src/Elasticsearch/Endpoints/Ml/GetDataFrameAnalytics.php index a4d425299..08dab4dd5 100644 --- a/src/Elasticsearch/Endpoints/Ml/GetDataFrameAnalytics.php +++ b/src/Elasticsearch/Endpoints/Ml/GetDataFrameAnalytics.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetDataFrameAnalytics extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/GetDataFrameAnalyticsStats.php b/src/Elasticsearch/Endpoints/Ml/GetDataFrameAnalyticsStats.php index 060df1eb8..b2492fff1 100644 --- a/src/Elasticsearch/Endpoints/Ml/GetDataFrameAnalyticsStats.php +++ b/src/Elasticsearch/Endpoints/Ml/GetDataFrameAnalyticsStats.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetDataFrameAnalyticsStats extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/GetDatafeedStats.php b/src/Elasticsearch/Endpoints/Ml/GetDatafeedStats.php index ad5be389f..52fd34a2e 100644 --- a/src/Elasticsearch/Endpoints/Ml/GetDatafeedStats.php +++ b/src/Elasticsearch/Endpoints/Ml/GetDatafeedStats.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetDatafeedStats extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/GetDatafeeds.php b/src/Elasticsearch/Endpoints/Ml/GetDatafeeds.php index b6b268e67..a54b848b3 100644 --- a/src/Elasticsearch/Endpoints/Ml/GetDatafeeds.php +++ b/src/Elasticsearch/Endpoints/Ml/GetDatafeeds.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetDatafeeds extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/GetFilters.php b/src/Elasticsearch/Endpoints/Ml/GetFilters.php index c27b8b66c..6955b8f1b 100644 --- a/src/Elasticsearch/Endpoints/Ml/GetFilters.php +++ b/src/Elasticsearch/Endpoints/Ml/GetFilters.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetFilters extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/GetInfluencers.php b/src/Elasticsearch/Endpoints/Ml/GetInfluencers.php index 21e18cf49..18158615c 100644 --- a/src/Elasticsearch/Endpoints/Ml/GetInfluencers.php +++ b/src/Elasticsearch/Endpoints/Ml/GetInfluencers.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetInfluencers extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/GetJobStats.php b/src/Elasticsearch/Endpoints/Ml/GetJobStats.php index 635d8950d..2870d3c69 100644 --- a/src/Elasticsearch/Endpoints/Ml/GetJobStats.php +++ b/src/Elasticsearch/Endpoints/Ml/GetJobStats.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetJobStats extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/GetJobs.php b/src/Elasticsearch/Endpoints/Ml/GetJobs.php index b136a1998..dbb1dcce9 100644 --- a/src/Elasticsearch/Endpoints/Ml/GetJobs.php +++ b/src/Elasticsearch/Endpoints/Ml/GetJobs.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetJobs extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/GetModelSnapshots.php b/src/Elasticsearch/Endpoints/Ml/GetModelSnapshots.php index 993ea15b6..914aa1993 100644 --- a/src/Elasticsearch/Endpoints/Ml/GetModelSnapshots.php +++ b/src/Elasticsearch/Endpoints/Ml/GetModelSnapshots.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetModelSnapshots extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/GetOverallBuckets.php b/src/Elasticsearch/Endpoints/Ml/GetOverallBuckets.php index 7c66a174d..a0738ccb0 100644 --- a/src/Elasticsearch/Endpoints/Ml/GetOverallBuckets.php +++ b/src/Elasticsearch/Endpoints/Ml/GetOverallBuckets.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetOverallBuckets extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/GetRecords.php b/src/Elasticsearch/Endpoints/Ml/GetRecords.php index 0357e76cf..30257ef7e 100644 --- a/src/Elasticsearch/Endpoints/Ml/GetRecords.php +++ b/src/Elasticsearch/Endpoints/Ml/GetRecords.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetRecords extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/GetTrainedModels.php b/src/Elasticsearch/Endpoints/Ml/GetTrainedModels.php index ab512c137..8dbce8094 100644 --- a/src/Elasticsearch/Endpoints/Ml/GetTrainedModels.php +++ b/src/Elasticsearch/Endpoints/Ml/GetTrainedModels.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetTrainedModels extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/GetTrainedModelsStats.php b/src/Elasticsearch/Endpoints/Ml/GetTrainedModelsStats.php index 5708a7d7b..1cf025eaa 100644 --- a/src/Elasticsearch/Endpoints/Ml/GetTrainedModelsStats.php +++ b/src/Elasticsearch/Endpoints/Ml/GetTrainedModelsStats.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetTrainedModelsStats extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/Info.php b/src/Elasticsearch/Endpoints/Ml/Info.php index 12b403724..c840c91e9 100644 --- a/src/Elasticsearch/Endpoints/Ml/Info.php +++ b/src/Elasticsearch/Endpoints/Ml/Info.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Info extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/OpenJob.php b/src/Elasticsearch/Endpoints/Ml/OpenJob.php index 31a100549..931dfa2fb 100644 --- a/src/Elasticsearch/Endpoints/Ml/OpenJob.php +++ b/src/Elasticsearch/Endpoints/Ml/OpenJob.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class OpenJob extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/PostCalendarEvents.php b/src/Elasticsearch/Endpoints/Ml/PostCalendarEvents.php index 269439a4b..8d010c73c 100644 --- a/src/Elasticsearch/Endpoints/Ml/PostCalendarEvents.php +++ b/src/Elasticsearch/Endpoints/Ml/PostCalendarEvents.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PostCalendarEvents extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/PostData.php b/src/Elasticsearch/Endpoints/Ml/PostData.php index 62b520633..6b6549451 100644 --- a/src/Elasticsearch/Endpoints/Ml/PostData.php +++ b/src/Elasticsearch/Endpoints/Ml/PostData.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PostData extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/PreviewDatafeed.php b/src/Elasticsearch/Endpoints/Ml/PreviewDatafeed.php index 483d92343..62dd24c5c 100644 --- a/src/Elasticsearch/Endpoints/Ml/PreviewDatafeed.php +++ b/src/Elasticsearch/Endpoints/Ml/PreviewDatafeed.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PreviewDatafeed extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/PutCalendar.php b/src/Elasticsearch/Endpoints/Ml/PutCalendar.php index ac0686089..134ae7baf 100644 --- a/src/Elasticsearch/Endpoints/Ml/PutCalendar.php +++ b/src/Elasticsearch/Endpoints/Ml/PutCalendar.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PutCalendar extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/PutCalendarJob.php b/src/Elasticsearch/Endpoints/Ml/PutCalendarJob.php index 1ea6ec175..3d7d4d859 100644 --- a/src/Elasticsearch/Endpoints/Ml/PutCalendarJob.php +++ b/src/Elasticsearch/Endpoints/Ml/PutCalendarJob.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PutCalendarJob extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/PutDataFrameAnalytics.php b/src/Elasticsearch/Endpoints/Ml/PutDataFrameAnalytics.php index 9a42c2c77..877768754 100644 --- a/src/Elasticsearch/Endpoints/Ml/PutDataFrameAnalytics.php +++ b/src/Elasticsearch/Endpoints/Ml/PutDataFrameAnalytics.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PutDataFrameAnalytics extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/PutDatafeed.php b/src/Elasticsearch/Endpoints/Ml/PutDatafeed.php index 8e8d72b4a..69fcd8e96 100644 --- a/src/Elasticsearch/Endpoints/Ml/PutDatafeed.php +++ b/src/Elasticsearch/Endpoints/Ml/PutDatafeed.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PutDatafeed extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/PutFilter.php b/src/Elasticsearch/Endpoints/Ml/PutFilter.php index 203309eb5..1592f9189 100644 --- a/src/Elasticsearch/Endpoints/Ml/PutFilter.php +++ b/src/Elasticsearch/Endpoints/Ml/PutFilter.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PutFilter extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/PutJob.php b/src/Elasticsearch/Endpoints/Ml/PutJob.php index d6ece2b6a..0ec72811a 100644 --- a/src/Elasticsearch/Endpoints/Ml/PutJob.php +++ b/src/Elasticsearch/Endpoints/Ml/PutJob.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PutJob extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/PutTrainedModel.php b/src/Elasticsearch/Endpoints/Ml/PutTrainedModel.php index e9174a6e7..632fa3a76 100644 --- a/src/Elasticsearch/Endpoints/Ml/PutTrainedModel.php +++ b/src/Elasticsearch/Endpoints/Ml/PutTrainedModel.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PutTrainedModel extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/RevertModelSnapshot.php b/src/Elasticsearch/Endpoints/Ml/RevertModelSnapshot.php index 483301bed..2408543e1 100644 --- a/src/Elasticsearch/Endpoints/Ml/RevertModelSnapshot.php +++ b/src/Elasticsearch/Endpoints/Ml/RevertModelSnapshot.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class RevertModelSnapshot extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/SetUpgradeMode.php b/src/Elasticsearch/Endpoints/Ml/SetUpgradeMode.php index 94c784226..3e7309a70 100644 --- a/src/Elasticsearch/Endpoints/Ml/SetUpgradeMode.php +++ b/src/Elasticsearch/Endpoints/Ml/SetUpgradeMode.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class SetUpgradeMode extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/StartDataFrameAnalytics.php b/src/Elasticsearch/Endpoints/Ml/StartDataFrameAnalytics.php index b2f44fda2..4358f7a73 100644 --- a/src/Elasticsearch/Endpoints/Ml/StartDataFrameAnalytics.php +++ b/src/Elasticsearch/Endpoints/Ml/StartDataFrameAnalytics.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class StartDataFrameAnalytics extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/StartDatafeed.php b/src/Elasticsearch/Endpoints/Ml/StartDatafeed.php index 528bb3988..14ca4adcd 100644 --- a/src/Elasticsearch/Endpoints/Ml/StartDatafeed.php +++ b/src/Elasticsearch/Endpoints/Ml/StartDatafeed.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class StartDatafeed extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/StopDataFrameAnalytics.php b/src/Elasticsearch/Endpoints/Ml/StopDataFrameAnalytics.php index bd5039adf..ed68bda37 100644 --- a/src/Elasticsearch/Endpoints/Ml/StopDataFrameAnalytics.php +++ b/src/Elasticsearch/Endpoints/Ml/StopDataFrameAnalytics.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class StopDataFrameAnalytics extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/StopDatafeed.php b/src/Elasticsearch/Endpoints/Ml/StopDatafeed.php index 6a1b19cce..a585491e0 100644 --- a/src/Elasticsearch/Endpoints/Ml/StopDatafeed.php +++ b/src/Elasticsearch/Endpoints/Ml/StopDatafeed.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class StopDatafeed extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/UpdateDataFrameAnalytics.php b/src/Elasticsearch/Endpoints/Ml/UpdateDataFrameAnalytics.php index ec5c0c887..f435025bd 100644 --- a/src/Elasticsearch/Endpoints/Ml/UpdateDataFrameAnalytics.php +++ b/src/Elasticsearch/Endpoints/Ml/UpdateDataFrameAnalytics.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class UpdateDataFrameAnalytics extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/UpdateDatafeed.php b/src/Elasticsearch/Endpoints/Ml/UpdateDatafeed.php index dcc54cc8d..6926cf6a8 100644 --- a/src/Elasticsearch/Endpoints/Ml/UpdateDatafeed.php +++ b/src/Elasticsearch/Endpoints/Ml/UpdateDatafeed.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class UpdateDatafeed extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/UpdateFilter.php b/src/Elasticsearch/Endpoints/Ml/UpdateFilter.php index e9129f13c..e8a6ed227 100644 --- a/src/Elasticsearch/Endpoints/Ml/UpdateFilter.php +++ b/src/Elasticsearch/Endpoints/Ml/UpdateFilter.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class UpdateFilter extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/UpdateJob.php b/src/Elasticsearch/Endpoints/Ml/UpdateJob.php index a4032ca4c..9d3ba483c 100644 --- a/src/Elasticsearch/Endpoints/Ml/UpdateJob.php +++ b/src/Elasticsearch/Endpoints/Ml/UpdateJob.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class UpdateJob extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/UpdateModelSnapshot.php b/src/Elasticsearch/Endpoints/Ml/UpdateModelSnapshot.php index a65fb36e3..d9535be89 100644 --- a/src/Elasticsearch/Endpoints/Ml/UpdateModelSnapshot.php +++ b/src/Elasticsearch/Endpoints/Ml/UpdateModelSnapshot.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class UpdateModelSnapshot extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/Validate.php b/src/Elasticsearch/Endpoints/Ml/Validate.php index 5f060ba81..1264474ea 100644 --- a/src/Elasticsearch/Endpoints/Ml/Validate.php +++ b/src/Elasticsearch/Endpoints/Ml/Validate.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Validate extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ml/ValidateDetector.php b/src/Elasticsearch/Endpoints/Ml/ValidateDetector.php index 85055c9ae..c0df383f2 100644 --- a/src/Elasticsearch/Endpoints/Ml/ValidateDetector.php +++ b/src/Elasticsearch/Endpoints/Ml/ValidateDetector.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ValidateDetector extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Monitoring/Bulk.php b/src/Elasticsearch/Endpoints/Monitoring/Bulk.php index 46ce87526..c89d3ed67 100644 --- a/src/Elasticsearch/Endpoints/Monitoring/Bulk.php +++ b/src/Elasticsearch/Endpoints/Monitoring/Bulk.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Bulk extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Msearch.php b/src/Elasticsearch/Endpoints/Msearch.php index 06dad6ba4..be9db311c 100644 --- a/src/Elasticsearch/Endpoints/Msearch.php +++ b/src/Elasticsearch/Endpoints/Msearch.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Msearch extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/MsearchTemplate.php b/src/Elasticsearch/Endpoints/MsearchTemplate.php index c9d563a49..427651d9d 100644 --- a/src/Elasticsearch/Endpoints/MsearchTemplate.php +++ b/src/Elasticsearch/Endpoints/MsearchTemplate.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class MsearchTemplate extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Nodes/HotThreads.php b/src/Elasticsearch/Endpoints/Nodes/HotThreads.php index 519103ee4..127b08ac2 100644 --- a/src/Elasticsearch/Endpoints/Nodes/HotThreads.php +++ b/src/Elasticsearch/Endpoints/Nodes/HotThreads.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class HotThreads extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Nodes/Info.php b/src/Elasticsearch/Endpoints/Nodes/Info.php index c4ae790d3..e8de91f70 100644 --- a/src/Elasticsearch/Endpoints/Nodes/Info.php +++ b/src/Elasticsearch/Endpoints/Nodes/Info.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Info extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Nodes/ReloadSecureSettings.php b/src/Elasticsearch/Endpoints/Nodes/ReloadSecureSettings.php index 76960055a..27ab4682b 100644 --- a/src/Elasticsearch/Endpoints/Nodes/ReloadSecureSettings.php +++ b/src/Elasticsearch/Endpoints/Nodes/ReloadSecureSettings.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ReloadSecureSettings extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Nodes/Stats.php b/src/Elasticsearch/Endpoints/Nodes/Stats.php index 42a8838a1..1a72bcbaa 100644 --- a/src/Elasticsearch/Endpoints/Nodes/Stats.php +++ b/src/Elasticsearch/Endpoints/Nodes/Stats.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Stats extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Nodes/Usage.php b/src/Elasticsearch/Endpoints/Nodes/Usage.php index 60ed5666d..d4c391a9a 100644 --- a/src/Elasticsearch/Endpoints/Nodes/Usage.php +++ b/src/Elasticsearch/Endpoints/Nodes/Usage.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Usage extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ping.php b/src/Elasticsearch/Endpoints/Ping.php index 59d112159..9e26e199f 100644 --- a/src/Elasticsearch/Endpoints/Ping.php +++ b/src/Elasticsearch/Endpoints/Ping.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Ping extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/PutScript.php b/src/Elasticsearch/Endpoints/PutScript.php index f57834b32..35ec11eb8 100644 --- a/src/Elasticsearch/Endpoints/PutScript.php +++ b/src/Elasticsearch/Endpoints/PutScript.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PutScript extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/RankEval.php b/src/Elasticsearch/Endpoints/RankEval.php index 18ffaa54b..a7f3b87f6 100644 --- a/src/Elasticsearch/Endpoints/RankEval.php +++ b/src/Elasticsearch/Endpoints/RankEval.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class RankEval extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Reindex.php b/src/Elasticsearch/Endpoints/Reindex.php index 9881fa9f0..8aaecec8c 100644 --- a/src/Elasticsearch/Endpoints/Reindex.php +++ b/src/Elasticsearch/Endpoints/Reindex.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Reindex extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/ReindexRethrottle.php b/src/Elasticsearch/Endpoints/ReindexRethrottle.php index b873d24a9..cbdc2cd3e 100644 --- a/src/Elasticsearch/Endpoints/ReindexRethrottle.php +++ b/src/Elasticsearch/Endpoints/ReindexRethrottle.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ReindexRethrottle extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/RenderSearchTemplate.php b/src/Elasticsearch/Endpoints/RenderSearchTemplate.php index 38dc6aa44..df4840740 100644 --- a/src/Elasticsearch/Endpoints/RenderSearchTemplate.php +++ b/src/Elasticsearch/Endpoints/RenderSearchTemplate.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class RenderSearchTemplate extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Rollup/DeleteJob.php b/src/Elasticsearch/Endpoints/Rollup/DeleteJob.php index 9680273ed..db3597a6a 100644 --- a/src/Elasticsearch/Endpoints/Rollup/DeleteJob.php +++ b/src/Elasticsearch/Endpoints/Rollup/DeleteJob.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeleteJob extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Rollup/GetJobs.php b/src/Elasticsearch/Endpoints/Rollup/GetJobs.php index 24c9ccefa..194ebf547 100644 --- a/src/Elasticsearch/Endpoints/Rollup/GetJobs.php +++ b/src/Elasticsearch/Endpoints/Rollup/GetJobs.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetJobs extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Rollup/GetRollupCaps.php b/src/Elasticsearch/Endpoints/Rollup/GetRollupCaps.php index 57f2dfbbb..f179bdb3e 100644 --- a/src/Elasticsearch/Endpoints/Rollup/GetRollupCaps.php +++ b/src/Elasticsearch/Endpoints/Rollup/GetRollupCaps.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetRollupCaps extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Rollup/GetRollupIndexCaps.php b/src/Elasticsearch/Endpoints/Rollup/GetRollupIndexCaps.php index 43e8c209b..fc0456343 100644 --- a/src/Elasticsearch/Endpoints/Rollup/GetRollupIndexCaps.php +++ b/src/Elasticsearch/Endpoints/Rollup/GetRollupIndexCaps.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetRollupIndexCaps extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Rollup/PutJob.php b/src/Elasticsearch/Endpoints/Rollup/PutJob.php index 2e645efb8..896bf5114 100644 --- a/src/Elasticsearch/Endpoints/Rollup/PutJob.php +++ b/src/Elasticsearch/Endpoints/Rollup/PutJob.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PutJob extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Rollup/RollupSearch.php b/src/Elasticsearch/Endpoints/Rollup/RollupSearch.php index 54bb103c4..221a60aef 100644 --- a/src/Elasticsearch/Endpoints/Rollup/RollupSearch.php +++ b/src/Elasticsearch/Endpoints/Rollup/RollupSearch.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class RollupSearch extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Rollup/StartJob.php b/src/Elasticsearch/Endpoints/Rollup/StartJob.php index 49c3ca6f9..8f9bf664b 100644 --- a/src/Elasticsearch/Endpoints/Rollup/StartJob.php +++ b/src/Elasticsearch/Endpoints/Rollup/StartJob.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class StartJob extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Rollup/StopJob.php b/src/Elasticsearch/Endpoints/Rollup/StopJob.php index 6c2c1ed9d..911446875 100644 --- a/src/Elasticsearch/Endpoints/Rollup/StopJob.php +++ b/src/Elasticsearch/Endpoints/Rollup/StopJob.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class StopJob extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/ScriptsPainlessExecute.php b/src/Elasticsearch/Endpoints/ScriptsPainlessExecute.php index 036120609..2ef70c315 100644 --- a/src/Elasticsearch/Endpoints/ScriptsPainlessExecute.php +++ b/src/Elasticsearch/Endpoints/ScriptsPainlessExecute.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ScriptsPainlessExecute extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Scroll.php b/src/Elasticsearch/Endpoints/Scroll.php index c8282bc08..3fad866b4 100644 --- a/src/Elasticsearch/Endpoints/Scroll.php +++ b/src/Elasticsearch/Endpoints/Scroll.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Scroll extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Search.php b/src/Elasticsearch/Endpoints/Search.php index 8bf6084a7..ccd8c6d97 100644 --- a/src/Elasticsearch/Endpoints/Search.php +++ b/src/Elasticsearch/Endpoints/Search.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Search extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/SearchShards.php b/src/Elasticsearch/Endpoints/SearchShards.php index 1d67deee9..c91d7ded9 100644 --- a/src/Elasticsearch/Endpoints/SearchShards.php +++ b/src/Elasticsearch/Endpoints/SearchShards.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class SearchShards extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/SearchTemplate.php b/src/Elasticsearch/Endpoints/SearchTemplate.php index 6f458550e..7184605e9 100644 --- a/src/Elasticsearch/Endpoints/SearchTemplate.php +++ b/src/Elasticsearch/Endpoints/SearchTemplate.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class SearchTemplate extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/SearchableSnapshots/ClearCache.php b/src/Elasticsearch/Endpoints/SearchableSnapshots/ClearCache.php index 273c602f5..696c90d48 100644 --- a/src/Elasticsearch/Endpoints/SearchableSnapshots/ClearCache.php +++ b/src/Elasticsearch/Endpoints/SearchableSnapshots/ClearCache.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ClearCache extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/SearchableSnapshots/Mount.php b/src/Elasticsearch/Endpoints/SearchableSnapshots/Mount.php index 557eefc25..ddeca67aa 100644 --- a/src/Elasticsearch/Endpoints/SearchableSnapshots/Mount.php +++ b/src/Elasticsearch/Endpoints/SearchableSnapshots/Mount.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Mount extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/SearchableSnapshots/RepositoryStats.php b/src/Elasticsearch/Endpoints/SearchableSnapshots/RepositoryStats.php index a7945d464..0acf1a5b3 100644 --- a/src/Elasticsearch/Endpoints/SearchableSnapshots/RepositoryStats.php +++ b/src/Elasticsearch/Endpoints/SearchableSnapshots/RepositoryStats.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class RepositoryStats extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/SearchableSnapshots/Stats.php b/src/Elasticsearch/Endpoints/SearchableSnapshots/Stats.php index 1f07c6fc2..ed8ecc9d9 100644 --- a/src/Elasticsearch/Endpoints/SearchableSnapshots/Stats.php +++ b/src/Elasticsearch/Endpoints/SearchableSnapshots/Stats.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Stats extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Security/Authenticate.php b/src/Elasticsearch/Endpoints/Security/Authenticate.php index 07c3dd660..4a04cf426 100644 --- a/src/Elasticsearch/Endpoints/Security/Authenticate.php +++ b/src/Elasticsearch/Endpoints/Security/Authenticate.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Authenticate extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Security/ChangePassword.php b/src/Elasticsearch/Endpoints/Security/ChangePassword.php index b4c176c25..0ba25d484 100644 --- a/src/Elasticsearch/Endpoints/Security/ChangePassword.php +++ b/src/Elasticsearch/Endpoints/Security/ChangePassword.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ChangePassword extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Security/ClearCachedPrivileges.php b/src/Elasticsearch/Endpoints/Security/ClearCachedPrivileges.php index c5d18a7f9..83674230c 100644 --- a/src/Elasticsearch/Endpoints/Security/ClearCachedPrivileges.php +++ b/src/Elasticsearch/Endpoints/Security/ClearCachedPrivileges.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ClearCachedPrivileges extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Security/ClearCachedRealms.php b/src/Elasticsearch/Endpoints/Security/ClearCachedRealms.php index 4aa137e58..3b113e880 100644 --- a/src/Elasticsearch/Endpoints/Security/ClearCachedRealms.php +++ b/src/Elasticsearch/Endpoints/Security/ClearCachedRealms.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ClearCachedRealms extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Security/ClearCachedRoles.php b/src/Elasticsearch/Endpoints/Security/ClearCachedRoles.php index aae160277..8e824f9d8 100644 --- a/src/Elasticsearch/Endpoints/Security/ClearCachedRoles.php +++ b/src/Elasticsearch/Endpoints/Security/ClearCachedRoles.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ClearCachedRoles extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Security/CreateApiKey.php b/src/Elasticsearch/Endpoints/Security/CreateApiKey.php index 65b4e5903..65b7b2374 100644 --- a/src/Elasticsearch/Endpoints/Security/CreateApiKey.php +++ b/src/Elasticsearch/Endpoints/Security/CreateApiKey.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class CreateApiKey extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Security/DeletePrivileges.php b/src/Elasticsearch/Endpoints/Security/DeletePrivileges.php index aeabba8cb..6a074fcfc 100644 --- a/src/Elasticsearch/Endpoints/Security/DeletePrivileges.php +++ b/src/Elasticsearch/Endpoints/Security/DeletePrivileges.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeletePrivileges extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Security/DeleteRole.php b/src/Elasticsearch/Endpoints/Security/DeleteRole.php index 83c959384..7bb88c6db 100644 --- a/src/Elasticsearch/Endpoints/Security/DeleteRole.php +++ b/src/Elasticsearch/Endpoints/Security/DeleteRole.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeleteRole extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Security/DeleteRoleMapping.php b/src/Elasticsearch/Endpoints/Security/DeleteRoleMapping.php index 374414033..49761a0b1 100644 --- a/src/Elasticsearch/Endpoints/Security/DeleteRoleMapping.php +++ b/src/Elasticsearch/Endpoints/Security/DeleteRoleMapping.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeleteRoleMapping extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Security/DeleteUser.php b/src/Elasticsearch/Endpoints/Security/DeleteUser.php index 963ac3c34..570364522 100644 --- a/src/Elasticsearch/Endpoints/Security/DeleteUser.php +++ b/src/Elasticsearch/Endpoints/Security/DeleteUser.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeleteUser extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Security/DisableUser.php b/src/Elasticsearch/Endpoints/Security/DisableUser.php index 9922e3007..ae73802ea 100644 --- a/src/Elasticsearch/Endpoints/Security/DisableUser.php +++ b/src/Elasticsearch/Endpoints/Security/DisableUser.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DisableUser extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Security/EnableUser.php b/src/Elasticsearch/Endpoints/Security/EnableUser.php index b6a09c369..ca529bc5f 100644 --- a/src/Elasticsearch/Endpoints/Security/EnableUser.php +++ b/src/Elasticsearch/Endpoints/Security/EnableUser.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class EnableUser extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Security/GetApiKey.php b/src/Elasticsearch/Endpoints/Security/GetApiKey.php index 52c7957ef..05b92916c 100644 --- a/src/Elasticsearch/Endpoints/Security/GetApiKey.php +++ b/src/Elasticsearch/Endpoints/Security/GetApiKey.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetApiKey extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Security/GetBuiltinPrivileges.php b/src/Elasticsearch/Endpoints/Security/GetBuiltinPrivileges.php index 908fc5adc..026cfd892 100644 --- a/src/Elasticsearch/Endpoints/Security/GetBuiltinPrivileges.php +++ b/src/Elasticsearch/Endpoints/Security/GetBuiltinPrivileges.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetBuiltinPrivileges extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Security/GetPrivileges.php b/src/Elasticsearch/Endpoints/Security/GetPrivileges.php index f0280f671..67c8038d5 100644 --- a/src/Elasticsearch/Endpoints/Security/GetPrivileges.php +++ b/src/Elasticsearch/Endpoints/Security/GetPrivileges.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetPrivileges extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Security/GetRole.php b/src/Elasticsearch/Endpoints/Security/GetRole.php index ca58c27f0..c2b515f43 100644 --- a/src/Elasticsearch/Endpoints/Security/GetRole.php +++ b/src/Elasticsearch/Endpoints/Security/GetRole.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetRole extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Security/GetRoleMapping.php b/src/Elasticsearch/Endpoints/Security/GetRoleMapping.php index ba6a9020b..748d3a3b5 100644 --- a/src/Elasticsearch/Endpoints/Security/GetRoleMapping.php +++ b/src/Elasticsearch/Endpoints/Security/GetRoleMapping.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetRoleMapping extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Security/GetToken.php b/src/Elasticsearch/Endpoints/Security/GetToken.php index 0e8c5f5b4..28d8d2d00 100644 --- a/src/Elasticsearch/Endpoints/Security/GetToken.php +++ b/src/Elasticsearch/Endpoints/Security/GetToken.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetToken extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Security/GetUser.php b/src/Elasticsearch/Endpoints/Security/GetUser.php index 6c4db5bb0..ea734fbae 100644 --- a/src/Elasticsearch/Endpoints/Security/GetUser.php +++ b/src/Elasticsearch/Endpoints/Security/GetUser.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetUser extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Security/GetUserPrivileges.php b/src/Elasticsearch/Endpoints/Security/GetUserPrivileges.php index 901eca2cc..5503a4fd5 100644 --- a/src/Elasticsearch/Endpoints/Security/GetUserPrivileges.php +++ b/src/Elasticsearch/Endpoints/Security/GetUserPrivileges.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetUserPrivileges extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Security/HasPrivileges.php b/src/Elasticsearch/Endpoints/Security/HasPrivileges.php index 1aa76ac12..f816539b9 100644 --- a/src/Elasticsearch/Endpoints/Security/HasPrivileges.php +++ b/src/Elasticsearch/Endpoints/Security/HasPrivileges.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class HasPrivileges extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Security/InvalidateApiKey.php b/src/Elasticsearch/Endpoints/Security/InvalidateApiKey.php index 75ff63a94..fa27707aa 100644 --- a/src/Elasticsearch/Endpoints/Security/InvalidateApiKey.php +++ b/src/Elasticsearch/Endpoints/Security/InvalidateApiKey.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class InvalidateApiKey extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Security/InvalidateToken.php b/src/Elasticsearch/Endpoints/Security/InvalidateToken.php index 581c2f08b..ac9373f58 100644 --- a/src/Elasticsearch/Endpoints/Security/InvalidateToken.php +++ b/src/Elasticsearch/Endpoints/Security/InvalidateToken.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class InvalidateToken extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Security/PutPrivileges.php b/src/Elasticsearch/Endpoints/Security/PutPrivileges.php index 7456cec4c..77c17164a 100644 --- a/src/Elasticsearch/Endpoints/Security/PutPrivileges.php +++ b/src/Elasticsearch/Endpoints/Security/PutPrivileges.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PutPrivileges extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Security/PutRole.php b/src/Elasticsearch/Endpoints/Security/PutRole.php index 54a090c3e..54418962a 100644 --- a/src/Elasticsearch/Endpoints/Security/PutRole.php +++ b/src/Elasticsearch/Endpoints/Security/PutRole.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PutRole extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Security/PutRoleMapping.php b/src/Elasticsearch/Endpoints/Security/PutRoleMapping.php index a3280e004..43c18566f 100644 --- a/src/Elasticsearch/Endpoints/Security/PutRoleMapping.php +++ b/src/Elasticsearch/Endpoints/Security/PutRoleMapping.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PutRoleMapping extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Security/PutUser.php b/src/Elasticsearch/Endpoints/Security/PutUser.php index f4aacde21..19d317692 100644 --- a/src/Elasticsearch/Endpoints/Security/PutUser.php +++ b/src/Elasticsearch/Endpoints/Security/PutUser.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PutUser extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Slm/DeleteLifecycle.php b/src/Elasticsearch/Endpoints/Slm/DeleteLifecycle.php index 8e616b58c..93ae2b07a 100644 --- a/src/Elasticsearch/Endpoints/Slm/DeleteLifecycle.php +++ b/src/Elasticsearch/Endpoints/Slm/DeleteLifecycle.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeleteLifecycle extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Slm/ExecuteLifecycle.php b/src/Elasticsearch/Endpoints/Slm/ExecuteLifecycle.php index 97afd8a7f..13d8186f6 100644 --- a/src/Elasticsearch/Endpoints/Slm/ExecuteLifecycle.php +++ b/src/Elasticsearch/Endpoints/Slm/ExecuteLifecycle.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ExecuteLifecycle extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Slm/ExecuteRetention.php b/src/Elasticsearch/Endpoints/Slm/ExecuteRetention.php index 5b29bbbe5..e824a71b7 100644 --- a/src/Elasticsearch/Endpoints/Slm/ExecuteRetention.php +++ b/src/Elasticsearch/Endpoints/Slm/ExecuteRetention.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ExecuteRetention extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Slm/GetLifecycle.php b/src/Elasticsearch/Endpoints/Slm/GetLifecycle.php index 8f256c121..656ed87a2 100644 --- a/src/Elasticsearch/Endpoints/Slm/GetLifecycle.php +++ b/src/Elasticsearch/Endpoints/Slm/GetLifecycle.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetLifecycle extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Slm/GetStats.php b/src/Elasticsearch/Endpoints/Slm/GetStats.php index 5a75e36c7..45b912ec0 100644 --- a/src/Elasticsearch/Endpoints/Slm/GetStats.php +++ b/src/Elasticsearch/Endpoints/Slm/GetStats.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetStats extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Slm/GetStatus.php b/src/Elasticsearch/Endpoints/Slm/GetStatus.php index b41ef3e9d..eeb0e82e7 100644 --- a/src/Elasticsearch/Endpoints/Slm/GetStatus.php +++ b/src/Elasticsearch/Endpoints/Slm/GetStatus.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetStatus extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Slm/PutLifecycle.php b/src/Elasticsearch/Endpoints/Slm/PutLifecycle.php index 7f918fe29..a13772737 100644 --- a/src/Elasticsearch/Endpoints/Slm/PutLifecycle.php +++ b/src/Elasticsearch/Endpoints/Slm/PutLifecycle.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PutLifecycle extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Slm/Start.php b/src/Elasticsearch/Endpoints/Slm/Start.php index d16c28b80..62d195287 100644 --- a/src/Elasticsearch/Endpoints/Slm/Start.php +++ b/src/Elasticsearch/Endpoints/Slm/Start.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Start extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Slm/Stop.php b/src/Elasticsearch/Endpoints/Slm/Stop.php index c077f0f81..2c8d8e9d9 100644 --- a/src/Elasticsearch/Endpoints/Slm/Stop.php +++ b/src/Elasticsearch/Endpoints/Slm/Stop.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Stop extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Snapshot/CleanupRepository.php b/src/Elasticsearch/Endpoints/Snapshot/CleanupRepository.php index 48cfba7ec..67605c852 100644 --- a/src/Elasticsearch/Endpoints/Snapshot/CleanupRepository.php +++ b/src/Elasticsearch/Endpoints/Snapshot/CleanupRepository.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class CleanupRepository extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Snapshot/Create.php b/src/Elasticsearch/Endpoints/Snapshot/Create.php index b9961b5cc..5730846b2 100644 --- a/src/Elasticsearch/Endpoints/Snapshot/Create.php +++ b/src/Elasticsearch/Endpoints/Snapshot/Create.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Create extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Snapshot/CreateRepository.php b/src/Elasticsearch/Endpoints/Snapshot/CreateRepository.php index 636081cff..85fbe3c30 100644 --- a/src/Elasticsearch/Endpoints/Snapshot/CreateRepository.php +++ b/src/Elasticsearch/Endpoints/Snapshot/CreateRepository.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class CreateRepository extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Snapshot/Delete.php b/src/Elasticsearch/Endpoints/Snapshot/Delete.php index 8f9831f59..e0b533e2f 100644 --- a/src/Elasticsearch/Endpoints/Snapshot/Delete.php +++ b/src/Elasticsearch/Endpoints/Snapshot/Delete.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Delete extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Snapshot/DeleteRepository.php b/src/Elasticsearch/Endpoints/Snapshot/DeleteRepository.php index 926113b91..e8c317931 100644 --- a/src/Elasticsearch/Endpoints/Snapshot/DeleteRepository.php +++ b/src/Elasticsearch/Endpoints/Snapshot/DeleteRepository.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeleteRepository extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Snapshot/Get.php b/src/Elasticsearch/Endpoints/Snapshot/Get.php index 2066d9a43..30a65aea8 100644 --- a/src/Elasticsearch/Endpoints/Snapshot/Get.php +++ b/src/Elasticsearch/Endpoints/Snapshot/Get.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Get extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Snapshot/GetRepository.php b/src/Elasticsearch/Endpoints/Snapshot/GetRepository.php index 430815a0b..96ff8c8ec 100644 --- a/src/Elasticsearch/Endpoints/Snapshot/GetRepository.php +++ b/src/Elasticsearch/Endpoints/Snapshot/GetRepository.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetRepository extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Snapshot/Restore.php b/src/Elasticsearch/Endpoints/Snapshot/Restore.php index e77cfe81a..ff975d8d8 100644 --- a/src/Elasticsearch/Endpoints/Snapshot/Restore.php +++ b/src/Elasticsearch/Endpoints/Snapshot/Restore.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Restore extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Snapshot/Status.php b/src/Elasticsearch/Endpoints/Snapshot/Status.php index 10fee8742..957416d75 100644 --- a/src/Elasticsearch/Endpoints/Snapshot/Status.php +++ b/src/Elasticsearch/Endpoints/Snapshot/Status.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Status extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Snapshot/VerifyRepository.php b/src/Elasticsearch/Endpoints/Snapshot/VerifyRepository.php index 1f7cf13a1..4b5038db5 100644 --- a/src/Elasticsearch/Endpoints/Snapshot/VerifyRepository.php +++ b/src/Elasticsearch/Endpoints/Snapshot/VerifyRepository.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class VerifyRepository extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Sql/ClearCursor.php b/src/Elasticsearch/Endpoints/Sql/ClearCursor.php index 0be461ab9..8d9c25a93 100644 --- a/src/Elasticsearch/Endpoints/Sql/ClearCursor.php +++ b/src/Elasticsearch/Endpoints/Sql/ClearCursor.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ClearCursor extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Sql/Query.php b/src/Elasticsearch/Endpoints/Sql/Query.php index 249ebe355..b0db95ce3 100644 --- a/src/Elasticsearch/Endpoints/Sql/Query.php +++ b/src/Elasticsearch/Endpoints/Sql/Query.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Query extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Sql/Translate.php b/src/Elasticsearch/Endpoints/Sql/Translate.php index 54e809815..e240cc343 100644 --- a/src/Elasticsearch/Endpoints/Sql/Translate.php +++ b/src/Elasticsearch/Endpoints/Sql/Translate.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Translate extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Ssl/Certificates.php b/src/Elasticsearch/Endpoints/Ssl/Certificates.php index 52846d887..7174754f9 100644 --- a/src/Elasticsearch/Endpoints/Ssl/Certificates.php +++ b/src/Elasticsearch/Endpoints/Ssl/Certificates.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Certificates extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Tasks/Cancel.php b/src/Elasticsearch/Endpoints/Tasks/Cancel.php index d8bc4040b..c54deaffd 100644 --- a/src/Elasticsearch/Endpoints/Tasks/Cancel.php +++ b/src/Elasticsearch/Endpoints/Tasks/Cancel.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Cancel extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Tasks/Get.php b/src/Elasticsearch/Endpoints/Tasks/Get.php index 70bf8442f..7e543da0c 100644 --- a/src/Elasticsearch/Endpoints/Tasks/Get.php +++ b/src/Elasticsearch/Endpoints/Tasks/Get.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Get extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Tasks/ListTasks.php b/src/Elasticsearch/Endpoints/Tasks/ListTasks.php index 336007285..f42c02536 100644 --- a/src/Elasticsearch/Endpoints/Tasks/ListTasks.php +++ b/src/Elasticsearch/Endpoints/Tasks/ListTasks.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ListTasks extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/TermVectors.php b/src/Elasticsearch/Endpoints/TermVectors.php index 40217c969..6db01fbb2 100644 --- a/src/Elasticsearch/Endpoints/TermVectors.php +++ b/src/Elasticsearch/Endpoints/TermVectors.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class TermVectors extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Transform/DeleteTransform.php b/src/Elasticsearch/Endpoints/Transform/DeleteTransform.php index dcd869369..cafe3821a 100644 --- a/src/Elasticsearch/Endpoints/Transform/DeleteTransform.php +++ b/src/Elasticsearch/Endpoints/Transform/DeleteTransform.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeleteTransform extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Transform/GetTransform.php b/src/Elasticsearch/Endpoints/Transform/GetTransform.php index 02588af31..9b7005790 100644 --- a/src/Elasticsearch/Endpoints/Transform/GetTransform.php +++ b/src/Elasticsearch/Endpoints/Transform/GetTransform.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetTransform extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Transform/GetTransformStats.php b/src/Elasticsearch/Endpoints/Transform/GetTransformStats.php index dd35d3660..3b6b1af1c 100644 --- a/src/Elasticsearch/Endpoints/Transform/GetTransformStats.php +++ b/src/Elasticsearch/Endpoints/Transform/GetTransformStats.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetTransformStats extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Transform/PreviewTransform.php b/src/Elasticsearch/Endpoints/Transform/PreviewTransform.php index 1a28b827d..e52054947 100644 --- a/src/Elasticsearch/Endpoints/Transform/PreviewTransform.php +++ b/src/Elasticsearch/Endpoints/Transform/PreviewTransform.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PreviewTransform extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Transform/PutTransform.php b/src/Elasticsearch/Endpoints/Transform/PutTransform.php index 117909c91..198a3b2c3 100644 --- a/src/Elasticsearch/Endpoints/Transform/PutTransform.php +++ b/src/Elasticsearch/Endpoints/Transform/PutTransform.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PutTransform extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Transform/StartTransform.php b/src/Elasticsearch/Endpoints/Transform/StartTransform.php index 4fca960a2..c1d37a366 100644 --- a/src/Elasticsearch/Endpoints/Transform/StartTransform.php +++ b/src/Elasticsearch/Endpoints/Transform/StartTransform.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class StartTransform extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Transform/StopTransform.php b/src/Elasticsearch/Endpoints/Transform/StopTransform.php index d6951eabd..1d0280f14 100644 --- a/src/Elasticsearch/Endpoints/Transform/StopTransform.php +++ b/src/Elasticsearch/Endpoints/Transform/StopTransform.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class StopTransform extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Transform/UpdateTransform.php b/src/Elasticsearch/Endpoints/Transform/UpdateTransform.php index da40be90a..63aa109b8 100644 --- a/src/Elasticsearch/Endpoints/Transform/UpdateTransform.php +++ b/src/Elasticsearch/Endpoints/Transform/UpdateTransform.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class UpdateTransform extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Update.php b/src/Elasticsearch/Endpoints/Update.php index 6c5e4c21a..a6f6090ec 100644 --- a/src/Elasticsearch/Endpoints/Update.php +++ b/src/Elasticsearch/Endpoints/Update.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Update extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/UpdateByQuery.php b/src/Elasticsearch/Endpoints/UpdateByQuery.php index ac228ba02..4eecb1df4 100644 --- a/src/Elasticsearch/Endpoints/UpdateByQuery.php +++ b/src/Elasticsearch/Endpoints/UpdateByQuery.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class UpdateByQuery extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/UpdateByQueryRethrottle.php b/src/Elasticsearch/Endpoints/UpdateByQueryRethrottle.php index ce3180821..4579576d7 100644 --- a/src/Elasticsearch/Endpoints/UpdateByQueryRethrottle.php +++ b/src/Elasticsearch/Endpoints/UpdateByQueryRethrottle.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class UpdateByQueryRethrottle extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Watcher/AckWatch.php b/src/Elasticsearch/Endpoints/Watcher/AckWatch.php index d2910aa53..a110e05fd 100644 --- a/src/Elasticsearch/Endpoints/Watcher/AckWatch.php +++ b/src/Elasticsearch/Endpoints/Watcher/AckWatch.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class AckWatch extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Watcher/ActivateWatch.php b/src/Elasticsearch/Endpoints/Watcher/ActivateWatch.php index e342a9210..0b30741ef 100644 --- a/src/Elasticsearch/Endpoints/Watcher/ActivateWatch.php +++ b/src/Elasticsearch/Endpoints/Watcher/ActivateWatch.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ActivateWatch extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Watcher/DeactivateWatch.php b/src/Elasticsearch/Endpoints/Watcher/DeactivateWatch.php index 7ab47839a..a17c58072 100644 --- a/src/Elasticsearch/Endpoints/Watcher/DeactivateWatch.php +++ b/src/Elasticsearch/Endpoints/Watcher/DeactivateWatch.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeactivateWatch extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Watcher/DeleteWatch.php b/src/Elasticsearch/Endpoints/Watcher/DeleteWatch.php index 8979aa918..95a7ced53 100644 --- a/src/Elasticsearch/Endpoints/Watcher/DeleteWatch.php +++ b/src/Elasticsearch/Endpoints/Watcher/DeleteWatch.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DeleteWatch extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Watcher/ExecuteWatch.php b/src/Elasticsearch/Endpoints/Watcher/ExecuteWatch.php index 6d2c14529..e273685ce 100644 --- a/src/Elasticsearch/Endpoints/Watcher/ExecuteWatch.php +++ b/src/Elasticsearch/Endpoints/Watcher/ExecuteWatch.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ExecuteWatch extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Watcher/GetWatch.php b/src/Elasticsearch/Endpoints/Watcher/GetWatch.php index 8b9aaf631..b99f6ba25 100644 --- a/src/Elasticsearch/Endpoints/Watcher/GetWatch.php +++ b/src/Elasticsearch/Endpoints/Watcher/GetWatch.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GetWatch extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Watcher/PutWatch.php b/src/Elasticsearch/Endpoints/Watcher/PutWatch.php index a3b4b191c..7eb7ea278 100644 --- a/src/Elasticsearch/Endpoints/Watcher/PutWatch.php +++ b/src/Elasticsearch/Endpoints/Watcher/PutWatch.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class PutWatch extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Watcher/Start.php b/src/Elasticsearch/Endpoints/Watcher/Start.php index 170833fa6..ddfb0fa36 100644 --- a/src/Elasticsearch/Endpoints/Watcher/Start.php +++ b/src/Elasticsearch/Endpoints/Watcher/Start.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Start extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Watcher/Stats.php b/src/Elasticsearch/Endpoints/Watcher/Stats.php index a0396ea34..65c4227d4 100644 --- a/src/Elasticsearch/Endpoints/Watcher/Stats.php +++ b/src/Elasticsearch/Endpoints/Watcher/Stats.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Stats extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Watcher/Stop.php b/src/Elasticsearch/Endpoints/Watcher/Stop.php index 47be9264f..b91012293 100644 --- a/src/Elasticsearch/Endpoints/Watcher/Stop.php +++ b/src/Elasticsearch/Endpoints/Watcher/Stop.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Stop extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Xpack/Info.php b/src/Elasticsearch/Endpoints/Xpack/Info.php index 40793e826..c503d60f9 100644 --- a/src/Elasticsearch/Endpoints/Xpack/Info.php +++ b/src/Elasticsearch/Endpoints/Xpack/Info.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Info extends AbstractEndpoint { diff --git a/src/Elasticsearch/Endpoints/Xpack/Usage.php b/src/Elasticsearch/Endpoints/Xpack/Usage.php index ebe2c0cb4..93bf620b6 100644 --- a/src/Elasticsearch/Endpoints/Xpack/Usage.php +++ b/src/Elasticsearch/Endpoints/Xpack/Usage.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Usage extends AbstractEndpoint { diff --git a/src/Elasticsearch/Helper/Iterators/SearchHitIterator.php b/src/Elasticsearch/Helper/Iterators/SearchHitIterator.php index 3117eb490..dc7d44877 100644 --- a/src/Elasticsearch/Helper/Iterators/SearchHitIterator.php +++ b/src/Elasticsearch/Helper/Iterators/SearchHitIterator.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - * @see Iterator - */ class SearchHitIterator implements Iterator, \Countable { diff --git a/src/Elasticsearch/Helper/Iterators/SearchResponseIterator.php b/src/Elasticsearch/Helper/Iterators/SearchResponseIterator.php index ffa6ebba9..d8fe694f1 100644 --- a/src/Elasticsearch/Helper/Iterators/SearchResponseIterator.php +++ b/src/Elasticsearch/Helper/Iterators/SearchResponseIterator.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - * @see Iterator - */ class SearchResponseIterator implements Iterator { diff --git a/src/Elasticsearch/Namespaces/AbstractNamespace.php b/src/Elasticsearch/Namespaces/AbstractNamespace.php index 9deb935e5..e55715e88 100644 --- a/src/Elasticsearch/Namespaces/AbstractNamespace.php +++ b/src/Elasticsearch/Namespaces/AbstractNamespace.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ abstract class AbstractNamespace { /** diff --git a/src/Elasticsearch/Namespaces/AsyncSearchNamespace.php b/src/Elasticsearch/Namespaces/AsyncSearchNamespace.php index 805061acb..bf8e3eafd 100644 --- a/src/Elasticsearch/Namespaces/AsyncSearchNamespace.php +++ b/src/Elasticsearch/Namespaces/AsyncSearchNamespace.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class AsyncSearchNamespace extends AbstractNamespace { @@ -21,9 +29,9 @@ class AsyncSearchNamespace extends AbstractNamespace /** * $params['id'] = (string) The async search ID * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html */ public function delete(array $params = []) { @@ -42,9 +50,9 @@ public function delete(array $params = []) * $params['keep_alive'] = (time) Specify the time interval in which the results (partial or final) for this search will be available * $params['typed_keys'] = (boolean) Specify whether aggregation and suggester names should be prefixed by their respective types in the response * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html */ public function get(array $params = []) { @@ -102,9 +110,9 @@ public function get(array $params = []) * $params['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 (Default = 5) * $params['body'] = (array) The search definition using the Query DSL * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html */ public function submit(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/AutoscalingNamespace.php b/src/Elasticsearch/Namespaces/AutoscalingNamespace.php index ba6a30a85..8f761fdd3 100644 --- a/src/Elasticsearch/Namespaces/AutoscalingNamespace.php +++ b/src/Elasticsearch/Namespaces/AutoscalingNamespace.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class AutoscalingNamespace extends AbstractNamespace { @@ -21,12 +29,11 @@ class AutoscalingNamespace extends AbstractNamespace /** * $params['name'] = (string) the name of the autoscaling policy * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-delete-autoscaling-policy.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-delete-autoscaling-policy.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function deleteAutoscalingPolicy(array $params = []) { @@ -51,12 +58,11 @@ public function getAutoscalingDecision(array $params = []) /** * $params['name'] = (string) the name of the autoscaling policy * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-get-autoscaling-policy.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-get-autoscaling-policy.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function getAutoscalingPolicy(array $params = []) { @@ -73,12 +79,11 @@ public function getAutoscalingPolicy(array $params = []) * $params['name'] = (string) the name of the autoscaling policy * $params['body'] = (array) the specification of the autoscaling policy (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-put-autoscaling-policy.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-put-autoscaling-policy.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function putAutoscalingPolicy(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/BooleanRequestWrapper.php b/src/Elasticsearch/Namespaces/BooleanRequestWrapper.php index 8469bef78..856dcf2a2 100644 --- a/src/Elasticsearch/Namespaces/BooleanRequestWrapper.php +++ b/src/Elasticsearch/Namespaces/BooleanRequestWrapper.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ trait BooleanRequestWrapper { /** diff --git a/src/Elasticsearch/Namespaces/CatNamespace.php b/src/Elasticsearch/Namespaces/CatNamespace.php index 3f1865708..f528c46d8 100644 --- a/src/Elasticsearch/Namespaces/CatNamespace.php +++ b/src/Elasticsearch/Namespaces/CatNamespace.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class CatNamespace extends AbstractNamespace { @@ -28,9 +36,9 @@ class CatNamespace extends AbstractNamespace * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = all) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-alias.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-alias.html */ public function aliases(array $params = []) { @@ -54,9 +62,9 @@ public function aliases(array $params = []) * $params['s'] = (list) Comma-separated list of column names or column aliases to sort by * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-allocation.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-allocation.html */ public function allocation(array $params = []) { @@ -77,9 +85,9 @@ public function allocation(array $params = []) * $params['s'] = (list) Comma-separated list of column names or column aliases to sort by * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html */ public function count(array $params = []) { @@ -101,9 +109,9 @@ public function count(array $params = []) * $params['s'] = (list) Comma-separated list of column names or column aliases to sort by * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-fielddata.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-fielddata.html */ public function fielddata(array $params = []) { @@ -125,9 +133,9 @@ public function fielddata(array $params = []) * $params['ts'] = (boolean) Set to false to disable timestamping (Default = true) * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-health.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-health.html */ public function health(array $params = []) { @@ -142,9 +150,9 @@ public function health(array $params = []) * $params['help'] = (boolean) Return help information (Default = false) * $params['s'] = (list) Comma-separated list of column names or column aliases to sort by * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat.html */ public function help(array $params = []) { @@ -171,9 +179,9 @@ public function help(array $params = []) * $params['include_unloaded_segments'] = (boolean) If set to true segment stats will include stats for segments that are not currently loaded into memory (Default = false) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = all) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html */ public function indices(array $params = []) { @@ -195,9 +203,9 @@ public function indices(array $params = []) * $params['s'] = (list) Comma-separated list of column names or column aliases to sort by * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-master.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-master.html */ public function master(array $params = []) { @@ -217,9 +225,9 @@ public function master(array $params = []) * $params['s'] = (list) Comma-separated list of column names or column aliases to sort by * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodeattrs.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodeattrs.html */ public function nodeattrs(array $params = []) { @@ -242,9 +250,9 @@ public function nodeattrs(array $params = []) * $params['time'] = (enum) The unit in which to display time values (Options = d,h,m,s,ms,micros,nanos) * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodes.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodes.html */ public function nodes(array $params = []) { @@ -265,9 +273,9 @@ public function nodes(array $params = []) * $params['time'] = (enum) The unit in which to display time values (Options = d,h,m,s,ms,micros,nanos) * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-pending-tasks.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-pending-tasks.html */ public function pendingTasks(array $params = []) { @@ -287,9 +295,9 @@ public function pendingTasks(array $params = []) * $params['s'] = (list) Comma-separated list of column names or column aliases to sort by * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-plugins.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-plugins.html */ public function plugins(array $params = []) { @@ -312,9 +320,9 @@ public function plugins(array $params = []) * $params['time'] = (enum) The unit in which to display time values (Options = d,h,m,s,ms,micros,nanos) * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-recovery.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-recovery.html */ public function recovery(array $params = []) { @@ -336,9 +344,9 @@ public function recovery(array $params = []) * $params['s'] = (list) Comma-separated list of column names or column aliases to sort by * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-repositories.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-repositories.html */ public function repositories(array $params = []) { @@ -358,9 +366,9 @@ public function repositories(array $params = []) * $params['s'] = (list) Comma-separated list of column names or column aliases to sort by * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-segments.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-segments.html */ public function segments(array $params = []) { @@ -385,9 +393,9 @@ public function segments(array $params = []) * $params['time'] = (enum) The unit in which to display time values (Options = d,h,m,s,ms,micros,nanos) * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-shards.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-shards.html */ public function shards(array $params = []) { @@ -411,9 +419,9 @@ public function shards(array $params = []) * $params['time'] = (enum) The unit in which to display time values (Options = d,h,m,s,ms,micros,nanos) * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-snapshots.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-snapshots.html */ public function snapshots(array $params = []) { @@ -438,9 +446,9 @@ public function snapshots(array $params = []) * $params['time'] = (enum) The unit in which to display time values (Options = d,h,m,s,ms,micros,nanos) * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html */ public function tasks(array $params = []) { @@ -461,9 +469,9 @@ public function tasks(array $params = []) * $params['s'] = (list) Comma-separated list of column names or column aliases to sort by * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-templates.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-templates.html */ public function templates(array $params = []) { @@ -487,9 +495,9 @@ public function templates(array $params = []) * $params['s'] = (list) Comma-separated list of column names or column aliases to sort by * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-thread-pool.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-thread-pool.html */ public function threadPool(array $params = []) { @@ -513,9 +521,9 @@ public function threadPool(array $params = []) * $params['time'] = (enum) The unit in which to display time values (Options = d,h,m,s,ms,micros,nanos) * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see http://www.elastic.co/guide/en/elasticsearch/reference/current/cat-dfanalytics.html + * @see http://www.elastic.co/guide/en/elasticsearch/reference/current/cat-dfanalytics.html */ public function mlDataFrameAnalytics(array $params = []) { @@ -538,9 +546,9 @@ public function mlDataFrameAnalytics(array $params = []) * $params['time'] = (enum) The unit in which to display time values (Options = d,h,m,s,ms,micros,nanos) * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see http://www.elastic.co/guide/en/elasticsearch/reference/current/cat-datafeeds.html + * @see http://www.elastic.co/guide/en/elasticsearch/reference/current/cat-datafeeds.html */ public function mlDatafeeds(array $params = []) { @@ -564,9 +572,9 @@ public function mlDatafeeds(array $params = []) * $params['time'] = (enum) The unit in which to display time values (Options = d,h,m,s,ms,micros,nanos) * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see http://www.elastic.co/guide/en/elasticsearch/reference/current/cat-anomaly-detectors.html + * @see http://www.elastic.co/guide/en/elasticsearch/reference/current/cat-anomaly-detectors.html */ public function mlJobs(array $params = []) { @@ -592,9 +600,9 @@ public function mlJobs(array $params = []) * $params['time'] = (enum) The unit in which to display time values (Options = d,h,m,s,ms,micros,nanos) * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-trained-model.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-trained-model.html */ public function mlTrainedModels(array $params = []) { @@ -619,9 +627,9 @@ public function mlTrainedModels(array $params = []) * $params['time'] = (enum) The unit in which to display time values (Options = d,h,m,s,ms,micros,nanos) * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-transforms.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-transforms.html */ public function transforms(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/CcrNamespace.php b/src/Elasticsearch/Namespaces/CcrNamespace.php index a6f4ed685..2a5a25521 100644 --- a/src/Elasticsearch/Namespaces/CcrNamespace.php +++ b/src/Elasticsearch/Namespaces/CcrNamespace.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class CcrNamespace extends AbstractNamespace { @@ -21,9 +29,9 @@ class CcrNamespace extends AbstractNamespace /** * $params['name'] = (string) The name of the auto follow pattern. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-delete-auto-follow-pattern.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-delete-auto-follow-pattern.html */ public function deleteAutoFollowPattern(array $params = []) { @@ -41,9 +49,9 @@ public function deleteAutoFollowPattern(array $params = []) * $params['wait_for_active_shards'] = (string) Sets the number of shard copies that must be active before returning. Defaults to 0. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1) (Default = 0) * $params['body'] = (array) The name of the leader index and other optional ccr related parameters (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-put-follow.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-put-follow.html */ public function follow(array $params = []) { @@ -61,9 +69,9 @@ public function follow(array $params = []) /** * $params['index'] = (list) A comma-separated list of index patterns; use `_all` to perform the operation on all indices * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-follow-info.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-follow-info.html */ public function followInfo(array $params = []) { @@ -79,9 +87,9 @@ public function followInfo(array $params = []) /** * $params['index'] = (list) A comma-separated list of index patterns; use `_all` to perform the operation on all indices * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-follow-stats.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-follow-stats.html */ public function followStats(array $params = []) { @@ -98,9 +106,9 @@ public function followStats(array $params = []) * $params['index'] = (string) the name of the leader index for which specified follower retention leases should be removed * $params['body'] = (array) the name and UUID of the follower index, the name of the cluster containing the follower index, and the alias from the perspective of that cluster for the remote cluster containing the leader index (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-forget-follower.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-forget-follower.html */ public function forgetFollower(array $params = []) { @@ -118,9 +126,9 @@ public function forgetFollower(array $params = []) /** * $params['name'] = (string) The name of the auto follow pattern. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-auto-follow-pattern.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-auto-follow-pattern.html */ public function getAutoFollowPattern(array $params = []) { @@ -136,9 +144,9 @@ public function getAutoFollowPattern(array $params = []) /** * $params['name'] = (string) The name of the auto follow pattern that should pause discovering new indices to follow. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-pause-auto-follow-pattern.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-pause-auto-follow-pattern.html */ public function pauseAutoFollowPattern(array $params = []) { @@ -154,9 +162,9 @@ public function pauseAutoFollowPattern(array $params = []) /** * $params['index'] = (string) The name of the follower index that should pause following its leader index. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-pause-follow.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-pause-follow.html */ public function pauseFollow(array $params = []) { @@ -173,9 +181,9 @@ public function pauseFollow(array $params = []) * $params['name'] = (string) The name of the auto follow pattern. * $params['body'] = (array) The specification of the auto follow pattern (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-put-auto-follow-pattern.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-put-auto-follow-pattern.html */ public function putAutoFollowPattern(array $params = []) { @@ -193,9 +201,9 @@ public function putAutoFollowPattern(array $params = []) /** * $params['name'] = (string) The name of the auto follow pattern to resume discovering new indices to follow. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-resume-auto-follow-pattern.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-resume-auto-follow-pattern.html */ public function resumeAutoFollowPattern(array $params = []) { @@ -212,9 +220,9 @@ public function resumeAutoFollowPattern(array $params = []) * $params['index'] = (string) The name of the follow index to resume following. * $params['body'] = (array) The name of the leader index and other optional ccr related parameters * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-resume-follow.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-resume-follow.html */ public function resumeFollow(array $params = []) { @@ -241,9 +249,9 @@ public function stats(array $params = []) /** * $params['index'] = (string) The name of the follower index that should be turned into a regular index. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-unfollow.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-unfollow.html */ public function unfollow(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/ClusterNamespace.php b/src/Elasticsearch/Namespaces/ClusterNamespace.php index 97b209b9a..9ad865544 100644 --- a/src/Elasticsearch/Namespaces/ClusterNamespace.php +++ b/src/Elasticsearch/Namespaces/ClusterNamespace.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class ClusterNamespace extends AbstractNamespace { @@ -23,9 +31,9 @@ class ClusterNamespace extends AbstractNamespace * $params['include_disk_info'] = (boolean) Return information about disk usage and shard sizes (default: false) * $params['body'] = (array) The index, shard, and primary flag to explain. Empty means 'explain the first unassigned shard' * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-allocation-explain.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-allocation-explain.html */ public function allocationExplain(array $params = []) { @@ -43,12 +51,11 @@ public function allocationExplain(array $params = []) * $params['timeout'] = (time) Explicit operation timeout * $params['master_timeout'] = (time) Specify timeout for connection to master * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function deleteComponentTemplate(array $params = []) { @@ -64,9 +71,9 @@ public function deleteComponentTemplate(array $params = []) /** * $params['wait_for_removal'] = (boolean) Specifies whether to wait for all excluded nodes to be removed from the cluster before clearing the voting configuration exclusions list. (Default = true) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/voting-config-exclusions.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/voting-config-exclusions.html */ public function deleteVotingConfigExclusions(array $params = []) { @@ -82,12 +89,11 @@ public function deleteVotingConfigExclusions(array $params = []) * $params['master_timeout'] = (time) Explicit operation timeout for connection to master node * $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return bool - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function existsComponentTemplate(array $params = []): bool { @@ -108,12 +114,11 @@ public function existsComponentTemplate(array $params = []): bool * $params['master_timeout'] = (time) Explicit operation timeout for connection to master node * $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function getComponentTemplate(array $params = []) { @@ -132,9 +137,9 @@ public function getComponentTemplate(array $params = []) * $params['timeout'] = (time) Explicit operation timeout * $params['include_defaults'] = (boolean) Whether to return all default clusters setting. (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html */ public function getSettings(array $params = []) { @@ -159,9 +164,9 @@ public function getSettings(array $params = []) * $params['wait_for_no_initializing_shards'] = (boolean) Whether to wait until there are no initializing shards in the cluster * $params['wait_for_status'] = (enum) Wait until cluster is in a specific state (Options = green,yellow,red) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html */ public function health(array $params = []) { @@ -178,9 +183,9 @@ public function health(array $params = []) * $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) * $params['master_timeout'] = (time) Specify timeout for connection to master * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-pending.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-pending.html */ public function pendingTasks(array $params = []) { @@ -196,9 +201,9 @@ public function pendingTasks(array $params = []) * $params['node_names'] = (string) A comma-separated list of the names of the nodes to exclude from the voting configuration. If specified, you may not also specify ?node_ids. * $params['timeout'] = (time) Explicit operation timeout (Default = 30s) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/voting-config-exclusions.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/voting-config-exclusions.html */ public function postVotingConfigExclusions(array $params = []) { @@ -216,12 +221,11 @@ public function postVotingConfigExclusions(array $params = []) * $params['master_timeout'] = (time) Specify timeout for connection to master * $params['body'] = (array) The template definition (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function putComponentTemplate(array $params = []) { @@ -242,9 +246,9 @@ public function putComponentTemplate(array $params = []) * $params['timeout'] = (time) Explicit operation timeout * $params['body'] = (array) The settings to be updated. Can be either `transient` or `persistent` (survives cluster restart). (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html */ public function putSettings(array $params = []) { @@ -259,9 +263,9 @@ public function putSettings(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-remote-info.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-remote-info.html */ public function remoteInfo(array $params = []) { @@ -281,9 +285,9 @@ public function remoteInfo(array $params = []) * $params['timeout'] = (time) Explicit operation timeout * $params['body'] = (array) The definition of `commands` to perform (`move`, `cancel`, `allocate`) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-reroute.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-reroute.html */ public function reroute(array $params = []) { @@ -308,9 +312,9 @@ public function reroute(array $params = []) * $params['allow_no_indices'] = (boolean) Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html */ public function state(array $params = []) { @@ -330,9 +334,9 @@ public function state(array $params = []) * $params['flat_settings'] = (boolean) Return settings in flat format (default: false) * $params['timeout'] = (time) Explicit operation timeout * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-stats.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-stats.html */ public function stats(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/DanglingIndicesNamespace.php b/src/Elasticsearch/Namespaces/DanglingIndicesNamespace.php index 3203417dd..7176d2cd5 100644 --- a/src/Elasticsearch/Namespaces/DanglingIndicesNamespace.php +++ b/src/Elasticsearch/Namespaces/DanglingIndicesNamespace.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DanglingIndicesNamespace extends AbstractNamespace { @@ -24,9 +32,9 @@ class DanglingIndicesNamespace extends AbstractNamespace * $params['timeout'] = (time) Explicit operation timeout * $params['master_timeout'] = (time) Specify timeout for connection to master * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html */ public function deleteDanglingIndex(array $params = []) { @@ -45,9 +53,9 @@ public function deleteDanglingIndex(array $params = []) * $params['timeout'] = (time) Explicit operation timeout * $params['master_timeout'] = (time) Specify timeout for connection to master * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html */ public function importDanglingIndex(array $params = []) { @@ -62,9 +70,9 @@ public function importDanglingIndex(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html */ public function listDanglingIndices(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/DataFrameTransformDeprecatedNamespace.php b/src/Elasticsearch/Namespaces/DataFrameTransformDeprecatedNamespace.php index 545341c2b..969100a52 100644 --- a/src/Elasticsearch/Namespaces/DataFrameTransformDeprecatedNamespace.php +++ b/src/Elasticsearch/Namespaces/DataFrameTransformDeprecatedNamespace.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class DataFrameTransformDeprecatedNamespace extends AbstractNamespace { @@ -22,12 +30,11 @@ class DataFrameTransformDeprecatedNamespace extends AbstractNamespace * $params['transform_id'] = (string) The id of the transform to delete * $params['force'] = (boolean) When `true`, the transform is deleted regardless of its current state. The default value is `false`, meaning that the transform must be `stopped` before it can be deleted. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-transform.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-transform.html * * @note This API is BETA and may change in ways that are not backwards compatible - * */ public function deleteTransform(array $params = []) { @@ -46,12 +53,11 @@ public function deleteTransform(array $params = []) * $params['size'] = (int) specifies a max number of transforms to get, defaults to 100 * $params['allow_no_match'] = (boolean) Whether to ignore if a wildcard expression matches no transforms. (This includes `_all` string or when no transforms have been specified) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform.html * * @note This API is BETA and may change in ways that are not backwards compatible - * */ public function getTransform(array $params = []) { @@ -70,12 +76,11 @@ public function getTransform(array $params = []) * $params['size'] = (number) specifies a max number of transform stats to get, defaults to 100 * $params['allow_no_match'] = (boolean) Whether to ignore if a wildcard expression matches no transforms. (This includes `_all` string or when no transforms have been specified) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform-stats.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform-stats.html * * @note This API is BETA and may change in ways that are not backwards compatible - * */ public function getTransformStats(array $params = []) { @@ -104,12 +109,11 @@ public function previewTransform(array $params = []) * $params['defer_validation'] = (boolean) If validations should be deferred until transform starts, defaults to false. * $params['body'] = (array) The transform definition (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/put-transform.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/put-transform.html * * @note This API is BETA and may change in ways that are not backwards compatible - * */ public function putTransform(array $params = []) { @@ -128,12 +132,11 @@ public function putTransform(array $params = []) * $params['transform_id'] = (string) The id of the transform to start * $params['timeout'] = (time) Controls the time to wait for the transform to start * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/start-transform.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/start-transform.html * * @note This API is BETA and may change in ways that are not backwards compatible - * */ public function startTransform(array $params = []) { @@ -152,12 +155,11 @@ public function startTransform(array $params = []) * $params['timeout'] = (time) Controls the time to wait until the transform has stopped. Default to 30 seconds * $params['allow_no_match'] = (boolean) Whether to ignore if a wildcard expression matches no transforms. (This includes `_all` string or when no transforms have been specified) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/stop-transform.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/stop-transform.html * * @note This API is BETA and may change in ways that are not backwards compatible - * */ public function stopTransform(array $params = []) { @@ -175,12 +177,11 @@ public function stopTransform(array $params = []) * $params['defer_validation'] = (boolean) If validations should be deferred until transform starts, defaults to false. * $params['body'] = (array) The update transform definition (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/update-transform.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/update-transform.html * * @note This API is BETA and may change in ways that are not backwards compatible - * */ public function updateTransform(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/EnrichNamespace.php b/src/Elasticsearch/Namespaces/EnrichNamespace.php index ac290301f..156c3965d 100644 --- a/src/Elasticsearch/Namespaces/EnrichNamespace.php +++ b/src/Elasticsearch/Namespaces/EnrichNamespace.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class EnrichNamespace extends AbstractNamespace { @@ -21,9 +29,9 @@ class EnrichNamespace extends AbstractNamespace /** * $params['name'] = (string) The name of the enrich policy * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-enrich-policy-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-enrich-policy-api.html */ public function deletePolicy(array $params = []) { @@ -40,9 +48,9 @@ public function deletePolicy(array $params = []) * $params['name'] = (string) The name of the enrich policy * $params['wait_for_completion'] = (boolean) Should the request should block until the execution is complete. (Default = true) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/execute-enrich-policy-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/execute-enrich-policy-api.html */ public function executePolicy(array $params = []) { @@ -58,9 +66,9 @@ public function executePolicy(array $params = []) /** * $params['name'] = (list) A comma-separated list of enrich policy names * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-enrich-policy-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-enrich-policy-api.html */ public function getPolicy(array $params = []) { @@ -77,9 +85,9 @@ public function getPolicy(array $params = []) * $params['name'] = (string) The name of the enrich policy * $params['body'] = (array) The enrich policy to register (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/put-enrich-policy-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/put-enrich-policy-api.html */ public function putPolicy(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/EqlNamespace.php b/src/Elasticsearch/Namespaces/EqlNamespace.php index b5f58db64..f17693aa9 100644 --- a/src/Elasticsearch/Namespaces/EqlNamespace.php +++ b/src/Elasticsearch/Namespaces/EqlNamespace.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class EqlNamespace extends AbstractNamespace { @@ -21,12 +29,11 @@ class EqlNamespace extends AbstractNamespace /** * $params['id'] = (string) The async search ID * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html * * @note This API is BETA and may change in ways that are not backwards compatible - * */ public function delete(array $params = []) { @@ -44,12 +51,11 @@ public function delete(array $params = []) * $params['wait_for_completion_timeout'] = (time) Specify the time that the request should block waiting for the final response * $params['keep_alive'] = (time) Update the time interval in which the results (partial or final) for this search will be available (Default = 5d) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html * * @note This API is BETA and may change in ways that are not backwards compatible - * */ public function get(array $params = []) { @@ -69,12 +75,11 @@ public function get(array $params = []) * $params['keep_alive'] = (time) Update the time interval in which the results (partial or final) for this search will be available (Default = 5d) * $params['body'] = (array) Eql request body. Use the `query` to limit the query scope. (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html * * @note This API is BETA and may change in ways that are not backwards compatible - * */ public function search(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/GraphNamespace.php b/src/Elasticsearch/Namespaces/GraphNamespace.php index a8b7f58f6..6f34621f5 100644 --- a/src/Elasticsearch/Namespaces/GraphNamespace.php +++ b/src/Elasticsearch/Namespaces/GraphNamespace.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class GraphNamespace extends AbstractNamespace { @@ -25,9 +33,9 @@ class GraphNamespace extends AbstractNamespace * $params['timeout'] = (time) Explicit operation timeout * $params['body'] = (array) Graph Query DSL * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html */ public function explore(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/IlmNamespace.php b/src/Elasticsearch/Namespaces/IlmNamespace.php index 44fdc8e3b..8bd8e9c6d 100644 --- a/src/Elasticsearch/Namespaces/IlmNamespace.php +++ b/src/Elasticsearch/Namespaces/IlmNamespace.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class IlmNamespace extends AbstractNamespace { @@ -21,9 +29,9 @@ class IlmNamespace extends AbstractNamespace /** * $params['policy'] = (string) The name of the index lifecycle policy * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-delete-lifecycle.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-delete-lifecycle.html */ public function deleteLifecycle(array $params = []) { @@ -41,9 +49,9 @@ public function deleteLifecycle(array $params = []) * $params['only_managed'] = (boolean) filters the indices included in the response to ones managed by ILM * $params['only_errors'] = (boolean) filters the indices included in the response to ones in an ILM error state, implies only_managed * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-explain-lifecycle.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-explain-lifecycle.html */ public function explainLifecycle(array $params = []) { @@ -59,9 +67,9 @@ public function explainLifecycle(array $params = []) /** * $params['policy'] = (string) The name of the index lifecycle policy * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-get-lifecycle.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-get-lifecycle.html */ public function getLifecycle(array $params = []) { @@ -76,9 +84,9 @@ public function getLifecycle(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-get-status.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-get-status.html */ public function getStatus(array $params = []) { @@ -93,9 +101,9 @@ public function getStatus(array $params = []) * $params['index'] = (string) The name of the index whose lifecycle step is to change * $params['body'] = (array) The new lifecycle step to move to * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-move-to-step.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-move-to-step.html */ public function moveToStep(array $params = []) { @@ -114,9 +122,9 @@ public function moveToStep(array $params = []) * $params['policy'] = (string) The name of the index lifecycle policy * $params['body'] = (array) The lifecycle policy definition to register * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-put-lifecycle.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-put-lifecycle.html */ public function putLifecycle(array $params = []) { @@ -134,9 +142,9 @@ public function putLifecycle(array $params = []) /** * $params['index'] = (string) The name of the index to remove policy on * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-remove-policy.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-remove-policy.html */ public function removePolicy(array $params = []) { @@ -152,9 +160,9 @@ public function removePolicy(array $params = []) /** * $params['index'] = (string) The name of the indices (comma-separated) whose failed lifecycle step is to be retry * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-retry-policy.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-retry-policy.html */ public function retry(array $params = []) { @@ -169,9 +177,9 @@ public function retry(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-start.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-start.html */ public function start(array $params = []) { @@ -184,9 +192,9 @@ public function start(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-stop.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-stop.html */ public function stop(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/IndicesNamespace.php b/src/Elasticsearch/Namespaces/IndicesNamespace.php index 155ae9add..79eac1a41 100644 --- a/src/Elasticsearch/Namespaces/IndicesNamespace.php +++ b/src/Elasticsearch/Namespaces/IndicesNamespace.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class IndicesNamespace extends AbstractNamespace { @@ -27,9 +35,9 @@ class IndicesNamespace extends AbstractNamespace * $params['allow_no_indices'] = (boolean) Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-blocks.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-blocks.html */ public function addBlock(array $params = []) { @@ -48,9 +56,9 @@ public function addBlock(array $params = []) * $params['index'] = (string) The name of the index to scope the operation * $params['body'] = (array) Define analyzer/tokenizer parameters and the text on which the analysis should be performed * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html */ public function analyze(array $params = []) { @@ -75,9 +83,9 @@ public function analyze(array $params = []) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) * $params['request'] = (boolean) Clear request cache * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html */ public function clearCache(array $params = []) { @@ -98,9 +106,9 @@ public function clearCache(array $params = []) * $params['wait_for_active_shards'] = (string) Set the number of active shards to wait for on the cloned index before the operation returns. * $params['body'] = (array) The configuration for the target index (`settings` and `aliases`) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clone-index.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clone-index.html */ public function clone(array $params = []) { @@ -126,9 +134,9 @@ public function clone(array $params = []) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) * $params['wait_for_active_shards'] = (string) Sets the number of active shards to wait for before the operation returns. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html */ public function close(array $params = []) { @@ -149,9 +157,9 @@ public function close(array $params = []) * $params['master_timeout'] = (time) Specify timeout for connection to master * $params['body'] = (array) The configuration for the index (`settings` and `mappings`) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-create-index.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-create-index.html */ public function create(array $params = []) { @@ -170,12 +178,11 @@ public function create(array $params = []) * $params['name'] = (string) The name of the data stream * $params['body'] = (array) The data stream definition * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function createDataStream(array $params = []) { @@ -195,12 +202,11 @@ public function createDataStream(array $params = []) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) * $params['forbid_closed_indices'] = (boolean) If set to false stats will also collected from closed indices if explicitly specified or if expand_wildcards expands to closed indices (Default = true) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function dataStreamsStats(array $params = []) { @@ -221,9 +227,9 @@ public function dataStreamsStats(array $params = []) * $params['allow_no_indices'] = (boolean) Ignore if a wildcard expression resolves to no concrete indices (default: false) * $params['expand_wildcards'] = (enum) Whether wildcard expressions should get expanded to open or closed indices (default: open) (Options = open,closed,hidden,none,all) (Default = open) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-index.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-index.html */ public function delete(array $params = []) { @@ -242,9 +248,9 @@ public function delete(array $params = []) * $params['timeout'] = (time) Explicit timestamp for the document * $params['master_timeout'] = (time) Specify timeout for connection to master * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html */ public function deleteAlias(array $params = []) { @@ -262,12 +268,11 @@ public function deleteAlias(array $params = []) /** * $params['name'] = (list) A comma-separated list of data streams to delete; use `*` to delete all data streams * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function deleteDataStream(array $params = []) { @@ -285,12 +290,11 @@ public function deleteDataStream(array $params = []) * $params['timeout'] = (time) Explicit operation timeout * $params['master_timeout'] = (time) Specify timeout for connection to master * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function deleteIndexTemplate(array $params = []) { @@ -308,9 +312,9 @@ public function deleteIndexTemplate(array $params = []) * $params['timeout'] = (time) Explicit operation timeout * $params['master_timeout'] = (time) Specify timeout for connection to master * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html */ public function deleteTemplate(array $params = []) { @@ -332,9 +336,9 @@ public function deleteTemplate(array $params = []) * $params['flat_settings'] = (boolean) Return settings in flat format (default: false) * $params['include_defaults'] = (boolean) Whether to return all default setting for each of the indices. (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return bool - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-exists.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-exists.html */ public function exists(array $params = []): bool { @@ -358,9 +362,9 @@ public function exists(array $params = []): bool * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = all) * $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return bool - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html */ public function existsAlias(array $params = []): bool { @@ -384,12 +388,11 @@ public function existsAlias(array $params = []): bool * $params['master_timeout'] = (time) Explicit operation timeout for connection to master node * $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return bool - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function existsIndexTemplate(array $params = []): bool { @@ -411,9 +414,9 @@ public function existsIndexTemplate(array $params = []): bool * $params['master_timeout'] = (time) Explicit operation timeout for connection to master node * $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return bool - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html */ public function existsTemplate(array $params = []): bool { @@ -437,9 +440,9 @@ public function existsTemplate(array $params = []): bool * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) * $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return bool - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-types-exists.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-types-exists.html */ public function existsType(array $params = []): bool { @@ -465,9 +468,9 @@ public function existsType(array $params = []): bool * $params['allow_no_indices'] = (boolean) Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html */ public function flush(array $params = []) { @@ -486,9 +489,9 @@ public function flush(array $params = []) * $params['allow_no_indices'] = (boolean) Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,none,all) (Default = open) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush-api.html */ public function flushSynced(array $params = []) { @@ -510,9 +513,9 @@ public function flushSynced(array $params = []) * $params['max_num_segments'] = (number) The number of segments the index should be merged into (default: dynamic) * $params['only_expunge_deletes'] = (boolean) Specify whether the operation should only expunge deleted documents * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html */ public function forcemerge(array $params = []) { @@ -536,9 +539,9 @@ public function forcemerge(array $params = []) * $params['include_defaults'] = (boolean) Whether to return all default setting for each of the indices. (Default = false) * $params['master_timeout'] = (time) Specify timeout for connection to master * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html */ public function get(array $params = []) { @@ -559,9 +562,9 @@ public function get(array $params = []) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = all) * $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html */ public function getAlias(array $params = []) { @@ -579,12 +582,11 @@ public function getAlias(array $params = []) /** * $params['name'] = (list) A comma-separated list of data streams to get; use `*` to get all data streams * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function getDataStream(array $params = []) { @@ -608,9 +610,9 @@ public function getDataStream(array $params = []) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) * $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html */ public function getFieldMapping(array $params = []) { @@ -633,12 +635,11 @@ public function getFieldMapping(array $params = []) * $params['master_timeout'] = (time) Explicit operation timeout for connection to master node * $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function getIndexTemplate(array $params = []) { @@ -661,9 +662,9 @@ public function getIndexTemplate(array $params = []) * $params['master_timeout'] = (time) Specify timeout for connection to master * $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html */ public function getMapping(array $params = []) { @@ -689,9 +690,9 @@ public function getMapping(array $params = []) * $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) * $params['include_defaults'] = (boolean) Whether to return all default setting for each of the indices. (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html */ public function getSettings(array $params = []) { @@ -713,9 +714,9 @@ public function getSettings(array $params = []) * $params['master_timeout'] = (time) Explicit operation timeout for connection to master node * $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html */ public function getTemplate(array $params = []) { @@ -734,9 +735,9 @@ public function getTemplate(array $params = []) * $params['allow_no_indices'] = (boolean) Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html */ public function getUpgrade(array $params = []) { @@ -758,9 +759,9 @@ public function getUpgrade(array $params = []) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = closed) * $params['wait_for_active_shards'] = (string) Sets the number of active shards to wait for before the operation returns. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html */ public function open(array $params = []) { @@ -780,9 +781,9 @@ public function open(array $params = []) * $params['master_timeout'] = (time) Specify timeout for connection to master * $params['body'] = (array) The settings for the alias, such as `routing` or `filter` * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html */ public function putAlias(array $params = []) { @@ -806,12 +807,11 @@ public function putAlias(array $params = []) * $params['master_timeout'] = (time) Specify timeout for connection to master * $params['body'] = (array) The template definition (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function putIndexTemplate(array $params = []) { @@ -838,9 +838,9 @@ public function putIndexTemplate(array $params = []) * $params['write_index_only'] = (boolean) When true, applies mappings only to the write index of an alias or data stream (Default = false) * $params['body'] = (array) The mapping definition (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html */ public function putMapping(array $params = []) { @@ -868,9 +868,9 @@ public function putMapping(array $params = []) * $params['flat_settings'] = (boolean) Return settings in flat format (default: false) * $params['body'] = (array) The index settings to be updated (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html */ public function putSettings(array $params = []) { @@ -893,9 +893,9 @@ public function putSettings(array $params = []) * $params['master_timeout'] = (time) Specify timeout for connection to master * $params['body'] = (array) The template definition (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html */ public function putTemplate(array $params = []) { @@ -915,9 +915,9 @@ public function putTemplate(array $params = []) * $params['detailed'] = (boolean) Whether to display detailed information about shard recovery (Default = false) * $params['active_only'] = (boolean) Display only those recoveries that are currently on-going (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html */ public function recovery(array $params = []) { @@ -936,9 +936,9 @@ public function recovery(array $params = []) * $params['allow_no_indices'] = (boolean) Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html */ public function refresh(array $params = []) { @@ -955,12 +955,11 @@ public function refresh(array $params = []) * $params['name'] = (list) A comma-separated list of names or wildcard expressions * $params['expand_wildcards'] = (enum) Whether wildcard expressions should get expanded to open or closed indices (default: open) (Options = open,closed,hidden,none,all) (Default = open) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-resolve-index.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-resolve-index.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function resolveIndex(array $params = []) { @@ -983,9 +982,9 @@ public function resolveIndex(array $params = []) * $params['wait_for_active_shards'] = (string) Set the number of active shards to wait for on the newly created rollover index before the operation returns. * $params['body'] = (array) The conditions that needs to be met for executing rollover * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-rollover-index.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-rollover-index.html */ public function rollover(array $params = []) { @@ -1009,9 +1008,9 @@ public function rollover(array $params = []) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) * $params['verbose'] = (boolean) Includes detailed memory usage by Lucene. (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-segments.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-segments.html */ public function segments(array $params = []) { @@ -1031,9 +1030,9 @@ public function segments(array $params = []) * $params['allow_no_indices'] = (boolean) Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shards-stores.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shards-stores.html */ public function shardStores(array $params = []) { @@ -1055,9 +1054,9 @@ public function shardStores(array $params = []) * $params['wait_for_active_shards'] = (string) Set the number of active shards to wait for on the shrunken index before the operation returns. * $params['body'] = (array) The configuration for the target index (`settings` and `aliases`) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shrink-index.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shrink-index.html */ public function shrink(array $params = []) { @@ -1081,12 +1080,11 @@ public function shrink(array $params = []) * $params['master_timeout'] = (time) Specify timeout for connection to master * $params['body'] = (array) New index template definition, which will be included in the simulation, as if it already exists in the system * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function simulateIndexTemplate(array $params = []) { @@ -1108,12 +1106,11 @@ public function simulateIndexTemplate(array $params = []) * $params['master_timeout'] = (time) Specify timeout for connection to master * $params['body'] = (array) New index template definition to be simulated, if no index template name is specified * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function simulateTemplate(array $params = []) { @@ -1137,9 +1134,9 @@ public function simulateTemplate(array $params = []) * $params['wait_for_active_shards'] = (string) Set the number of active shards to wait for on the shrunken index before the operation returns. * $params['body'] = (array) The configuration for the target index (`settings` and `aliases`) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-split-index.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-split-index.html */ public function split(array $params = []) { @@ -1170,9 +1167,9 @@ public function split(array $params = []) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) * $params['forbid_closed_indices'] = (boolean) If set to false stats will also collected from closed indices if explicitly specified or if expand_wildcards expands to closed indices (Default = true) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html */ public function stats(array $params = []) { @@ -1192,9 +1189,9 @@ public function stats(array $params = []) * $params['master_timeout'] = (time) Specify timeout for connection to master * $params['body'] = (array) The definition of `actions` to perform (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html */ public function updateAliases(array $params = []) { @@ -1215,9 +1212,9 @@ public function updateAliases(array $params = []) * $params['wait_for_completion'] = (boolean) Specify whether the request should block until the all segments are upgraded (default: false) * $params['only_ancient_segments'] = (boolean) If true, only ancient (an older Lucene major release) segments will be upgraded * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html */ public function upgrade(array $params = []) { @@ -1247,9 +1244,9 @@ public function upgrade(array $params = []) * $params['all_shards'] = (boolean) Execute validation on all shards instead of one random shard per index * $params['body'] = (array) The query definition specified with the Query DSL * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html */ public function validateQuery(array $params = []) { @@ -1275,9 +1272,9 @@ public function validateQuery(array $params = []) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = closed) * $params['wait_for_active_shards'] = (string) Sets the number of active shards to wait for before the operation returns. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/freeze-index-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/freeze-index-api.html */ public function freeze(array $params = []) { @@ -1296,9 +1293,9 @@ public function freeze(array $params = []) * $params['allow_no_indices'] = (boolean) Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-reload-analyzers.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-reload-analyzers.html */ public function reloadSearchAnalyzers(array $params = []) { @@ -1320,9 +1317,9 @@ public function reloadSearchAnalyzers(array $params = []) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = closed) * $params['wait_for_active_shards'] = (string) Sets the number of active shards to wait for before the operation returns. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/unfreeze-index-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/unfreeze-index-api.html */ public function unfreeze(array $params = []) { @@ -1339,7 +1336,7 @@ public function unfreeze(array $params = []) * Alias function to getAlias() * * @deprecated added to prevent BC break introduced in 7.2.0 - * @see https://github.com/elastic/elasticsearch-php/issues/940 + * @see https://github.com/elastic/elasticsearch-php/issues/940 */ public function getAliases(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/IngestNamespace.php b/src/Elasticsearch/Namespaces/IngestNamespace.php index 38546c256..98cb9f155 100644 --- a/src/Elasticsearch/Namespaces/IngestNamespace.php +++ b/src/Elasticsearch/Namespaces/IngestNamespace.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class IngestNamespace extends AbstractNamespace { @@ -23,9 +31,9 @@ class IngestNamespace extends AbstractNamespace * $params['master_timeout'] = (time) Explicit operation timeout for connection to master node * $params['timeout'] = (time) Explicit operation timeout * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-pipeline-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-pipeline-api.html */ public function deletePipeline(array $params = []) { @@ -42,9 +50,9 @@ public function deletePipeline(array $params = []) * $params['id'] = (string) Comma separated list of pipeline ids. Wildcards supported * $params['master_timeout'] = (time) Explicit operation timeout for connection to master node * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/get-pipeline-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/get-pipeline-api.html */ public function getPipeline(array $params = []) { @@ -59,9 +67,9 @@ public function getPipeline(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/grok-processor.html#grok-processor-rest-get + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/grok-processor.html#grok-processor-rest-get */ public function processorGrok(array $params = []) { @@ -78,9 +86,9 @@ public function processorGrok(array $params = []) * $params['timeout'] = (time) Explicit operation timeout * $params['body'] = (array) The ingest definition (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/put-pipeline-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/put-pipeline-api.html */ public function putPipeline(array $params = []) { @@ -100,9 +108,9 @@ public function putPipeline(array $params = []) * $params['verbose'] = (boolean) Verbose mode. Display data output for each processor in executed pipeline (Default = false) * $params['body'] = (array) The simulate definition (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html */ public function simulate(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/LicenseNamespace.php b/src/Elasticsearch/Namespaces/LicenseNamespace.php index 3b6426f56..de6da0251 100644 --- a/src/Elasticsearch/Namespaces/LicenseNamespace.php +++ b/src/Elasticsearch/Namespaces/LicenseNamespace.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class LicenseNamespace extends AbstractNamespace { @@ -31,9 +39,9 @@ public function delete(array $params = []) * $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) * $params['accept_enterprise'] = (boolean) If the active license is an enterprise license, return type as 'enterprise' (default: false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/get-license.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/get-license.html */ public function get(array $params = []) { @@ -46,9 +54,9 @@ public function get(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/get-basic-status.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/get-basic-status.html */ public function getBasicStatus(array $params = []) { @@ -61,9 +69,9 @@ public function getBasicStatus(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/get-trial-status.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/get-trial-status.html */ public function getTrialStatus(array $params = []) { @@ -78,9 +86,9 @@ public function getTrialStatus(array $params = []) * $params['acknowledge'] = (boolean) whether the user has acknowledged acknowledge messages (default: false) * $params['body'] = (array) licenses to be installed * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/update-license.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/update-license.html */ public function post(array $params = []) { @@ -96,9 +104,9 @@ public function post(array $params = []) /** * $params['acknowledge'] = (boolean) whether the user has acknowledged acknowledge messages (default: false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/start-basic.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/start-basic.html */ public function postStartBasic(array $params = []) { @@ -113,9 +121,9 @@ public function postStartBasic(array $params = []) * $params['type'] = (string) The type of trial license to generate (default: "trial") * $params['acknowledge'] = (boolean) whether the user has acknowledged acknowledge messages (default: false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/start-trial.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/start-trial.html */ public function postStartTrial(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/MigrationNamespace.php b/src/Elasticsearch/Namespaces/MigrationNamespace.php index 9330bf785..5487b3b33 100644 --- a/src/Elasticsearch/Namespaces/MigrationNamespace.php +++ b/src/Elasticsearch/Namespaces/MigrationNamespace.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class MigrationNamespace extends AbstractNamespace { @@ -21,9 +29,9 @@ class MigrationNamespace extends AbstractNamespace /** * $params['index'] = (string) Index pattern * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-deprecation.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-deprecation.html */ public function deprecations(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/MlNamespace.php b/src/Elasticsearch/Namespaces/MlNamespace.php index 03b3bb623..f0057e629 100644 --- a/src/Elasticsearch/Namespaces/MlNamespace.php +++ b/src/Elasticsearch/Namespaces/MlNamespace.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class MlNamespace extends AbstractNamespace { @@ -25,9 +33,9 @@ class MlNamespace extends AbstractNamespace * $params['timeout'] = (time) Controls the time to wait until a job has closed. Default to 30 minutes * $params['body'] = (array) The URL params optionally sent in the body * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-close-job.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-close-job.html */ public function closeJob(array $params = []) { @@ -45,9 +53,9 @@ public function closeJob(array $params = []) /** * $params['calendar_id'] = (string) The ID of the calendar to delete * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-calendar.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-calendar.html */ public function deleteCalendar(array $params = []) { @@ -64,9 +72,9 @@ public function deleteCalendar(array $params = []) * $params['calendar_id'] = (string) The ID of the calendar to modify * $params['event_id'] = (string) The ID of the event to remove from the calendar * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-calendar-event.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-calendar-event.html */ public function deleteCalendarEvent(array $params = []) { @@ -85,9 +93,9 @@ public function deleteCalendarEvent(array $params = []) * $params['calendar_id'] = (string) The ID of the calendar to modify * $params['job_id'] = (string) The ID of the job to remove from the calendar * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-calendar-job.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-calendar-job.html */ public function deleteCalendarJob(array $params = []) { @@ -107,12 +115,11 @@ public function deleteCalendarJob(array $params = []) * $params['force'] = (boolean) True if the job should be forcefully deleted (Default = false) * $params['timeout'] = (time) Controls the time to wait until a job is deleted. Defaults to 1 minute * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-dfanalytics.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-dfanalytics.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function deleteDataFrameAnalytics(array $params = []) { @@ -129,9 +136,9 @@ public function deleteDataFrameAnalytics(array $params = []) * $params['datafeed_id'] = (string) The ID of the datafeed to delete * $params['force'] = (boolean) True if the datafeed should be forcefully deleted * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-datafeed.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-datafeed.html */ public function deleteDatafeed(array $params = []) { @@ -150,9 +157,9 @@ public function deleteDatafeed(array $params = []) * $params['timeout'] = (time) How long can the underlying delete processes run until they are canceled * $params['body'] = (array) deleting expired data parameters * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-expired-data.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-expired-data.html */ public function deleteExpiredData(array $params = []) { @@ -170,9 +177,9 @@ public function deleteExpiredData(array $params = []) /** * $params['filter_id'] = (string) The ID of the filter to delete * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-filter.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-filter.html */ public function deleteFilter(array $params = []) { @@ -191,9 +198,9 @@ public function deleteFilter(array $params = []) * $params['allow_no_forecasts'] = (boolean) Whether to ignore if `_all` matches no forecasts * $params['timeout'] = (time) Controls the time to wait until the forecast(s) are deleted. Default to 30 seconds * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-forecast.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-forecast.html */ public function deleteForecast(array $params = []) { @@ -213,9 +220,9 @@ public function deleteForecast(array $params = []) * $params['force'] = (boolean) True if the job should be forcefully deleted (Default = false) * $params['wait_for_completion'] = (boolean) Should this request wait until the operation has completed before returning (Default = true) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-job.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-job.html */ public function deleteJob(array $params = []) { @@ -232,9 +239,9 @@ public function deleteJob(array $params = []) * $params['job_id'] = (string) The ID of the job to fetch * $params['snapshot_id'] = (string) The ID of the snapshot to delete * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-snapshot.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-snapshot.html */ public function deleteModelSnapshot(array $params = []) { @@ -252,12 +259,11 @@ public function deleteModelSnapshot(array $params = []) /** * $params['model_id'] = (string) The ID of the trained model to delete * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-inference.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-inference.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function deleteTrainedModel(array $params = []) { @@ -273,9 +279,9 @@ public function deleteTrainedModel(array $params = []) /** * $params['body'] = (array) The analysis config, plus cardinality estimates for fields it references (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-apis.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-apis.html */ public function estimateModelMemory(array $params = []) { @@ -303,12 +309,11 @@ public function evaluateDataFrame(array $params = []) * $params['id'] = (string) The ID of the data frame analytics to explain * $params['body'] = (array) The data frame analytics config to explain * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see http://www.elastic.co/guide/en/elasticsearch/reference/current/explain-dfanalytics.html + * @see http://www.elastic.co/guide/en/elasticsearch/reference/current/explain-dfanalytics.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function explainDataFrameAnalytics(array $params = []) { @@ -340,12 +345,11 @@ public function explainDataFrameAnalytics(array $params = []) * $params['explain'] = (boolean) Whether to include a commentary on how the structure was derived (Default = false) * $params['body'] = (array) The contents of the file to be analyzed (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-find-file-structure.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-find-file-structure.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function findFileStructure(array $params = []) { @@ -367,9 +371,9 @@ public function findFileStructure(array $params = []) * $params['skip_time'] = (string) Skips time to the given value without generating results or updating the model for the skipped interval * $params['body'] = (array) Flush parameters * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-flush-job.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-flush-job.html */ public function flushJob(array $params = []) { @@ -390,9 +394,9 @@ public function flushJob(array $params = []) * $params['expires_in'] = (time) The time interval after which the forecast expires. Expired forecasts will be deleted at the first opportunity. * $params['max_model_memory'] = (string) The max memory able to be used by the forecast. Default is 20mb. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-forecast.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-forecast.html */ public function forecast(array $params = []) { @@ -419,9 +423,9 @@ public function forecast(array $params = []) * $params['desc'] = (boolean) Set the sort direction * $params['body'] = (array) Bucket selection details if not provided in URI * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html */ public function getBuckets(array $params = []) { @@ -446,9 +450,9 @@ public function getBuckets(array $params = []) * $params['from'] = (int) Skips a number of events * $params['size'] = (int) Specifies a max number of events to get * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar-event.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar-event.html */ public function getCalendarEvents(array $params = []) { @@ -467,9 +471,9 @@ public function getCalendarEvents(array $params = []) * $params['size'] = (int) specifies a max number of calendars to get * $params['body'] = (array) The from and size parameters optionally sent in the body * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar.html */ public function getCalendars(array $params = []) { @@ -492,9 +496,9 @@ public function getCalendars(array $params = []) * $params['partition_field_value'] = (string) Specifies the partition to retrieve categories for. This is optional, and should never be used for jobs where per-partition categorization is disabled. * $params['body'] = (array) Category selection details if not provided in URI * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html */ public function getCategories(array $params = []) { @@ -517,12 +521,11 @@ public function getCategories(array $params = []) * $params['from'] = (int) skips a number of analytics (Default = 0) * $params['size'] = (int) specifies a max number of analytics to get (Default = 100) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function getDataFrameAnalytics(array $params = []) { @@ -541,12 +544,11 @@ public function getDataFrameAnalytics(array $params = []) * $params['from'] = (int) skips a number of analytics (Default = 0) * $params['size'] = (int) specifies a max number of analytics to get (Default = 100) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics-stats.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics-stats.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function getDataFrameAnalyticsStats(array $params = []) { @@ -563,9 +565,9 @@ public function getDataFrameAnalyticsStats(array $params = []) * $params['datafeed_id'] = (string) The ID of the datafeeds stats to fetch * $params['allow_no_datafeeds'] = (boolean) Whether to ignore if a wildcard expression matches no datafeeds. (This includes `_all` string or when no datafeeds have been specified) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html */ public function getDatafeedStats(array $params = []) { @@ -582,9 +584,9 @@ public function getDatafeedStats(array $params = []) * $params['datafeed_id'] = (string) The ID of the datafeeds to fetch * $params['allow_no_datafeeds'] = (boolean) Whether to ignore if a wildcard expression matches no datafeeds. (This includes `_all` string or when no datafeeds have been specified) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html */ public function getDatafeeds(array $params = []) { @@ -602,9 +604,9 @@ public function getDatafeeds(array $params = []) * $params['from'] = (int) skips a number of filters * $params['size'] = (int) specifies a max number of filters to get * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-filter.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-filter.html */ public function getFilters(array $params = []) { @@ -629,9 +631,9 @@ public function getFilters(array $params = []) * $params['desc'] = (boolean) whether the results should be sorted in decending order * $params['body'] = (array) Influencer selection criteria * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html */ public function getInfluencers(array $params = []) { @@ -650,9 +652,9 @@ public function getInfluencers(array $params = []) * $params['job_id'] = (string) The ID of the jobs stats to fetch * $params['allow_no_jobs'] = (boolean) Whether to ignore if a wildcard expression matches no jobs. (This includes `_all` string or when no jobs have been specified) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html */ public function getJobStats(array $params = []) { @@ -669,9 +671,9 @@ public function getJobStats(array $params = []) * $params['job_id'] = (string) The ID of the jobs to fetch * $params['allow_no_jobs'] = (boolean) Whether to ignore if a wildcard expression matches no jobs. (This includes `_all` string or when no jobs have been specified) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html */ public function getJobs(array $params = []) { @@ -695,9 +697,9 @@ public function getJobs(array $params = []) * $params['desc'] = (boolean) True if the results should be sorted in descending order * $params['body'] = (array) Model snapshot selection criteria * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html */ public function getModelSnapshots(array $params = []) { @@ -725,9 +727,9 @@ public function getModelSnapshots(array $params = []) * $params['allow_no_jobs'] = (boolean) Whether to ignore if a wildcard expression matches no jobs. (This includes `_all` string or when no jobs have been specified) * $params['body'] = (array) Overall bucket selection details if not provided in URI * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-overall-buckets.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-overall-buckets.html */ public function getOverallBuckets(array $params = []) { @@ -754,9 +756,9 @@ public function getOverallBuckets(array $params = []) * $params['desc'] = (boolean) Set the sort direction * $params['body'] = (array) Record selection criteria * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html */ public function getRecords(array $params = []) { @@ -781,12 +783,11 @@ public function getRecords(array $params = []) * $params['tags'] = (list) A comma-separated list of tags that the model must have. * $params['for_export'] = (boolean) Omits fields that are illegal to set on model PUT (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-inference.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-inference.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function getTrainedModels(array $params = []) { @@ -805,12 +806,11 @@ public function getTrainedModels(array $params = []) * $params['from'] = (int) skips a number of trained models (Default = 0) * $params['size'] = (int) specifies a max number of trained models to get (Default = 100) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-inference-stats.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-inference-stats.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function getTrainedModelsStats(array $params = []) { @@ -835,9 +835,9 @@ public function info(array $params = []) /** * $params['job_id'] = (string) The ID of the job to open * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-open-job.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-open-job.html */ public function openJob(array $params = []) { @@ -854,9 +854,9 @@ public function openJob(array $params = []) * $params['calendar_id'] = (string) The ID of the calendar to modify * $params['body'] = (array) A list of events (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-calendar-event.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-calendar-event.html */ public function postCalendarEvents(array $params = []) { @@ -877,9 +877,9 @@ public function postCalendarEvents(array $params = []) * $params['reset_end'] = (string) Optional parameter to specify the end of the bucket resetting range * $params['body'] = (array) The data to process (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-data.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-data.html */ public function postData(array $params = []) { @@ -897,9 +897,9 @@ public function postData(array $params = []) /** * $params['datafeed_id'] = (string) The ID of the datafeed to preview * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html */ public function previewDatafeed(array $params = []) { @@ -916,9 +916,9 @@ public function previewDatafeed(array $params = []) * $params['calendar_id'] = (string) The ID of the calendar to create * $params['body'] = (array) The calendar details * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-calendar.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-calendar.html */ public function putCalendar(array $params = []) { @@ -937,9 +937,9 @@ public function putCalendar(array $params = []) * $params['calendar_id'] = (string) The ID of the calendar to modify * $params['job_id'] = (string) The ID of the job to add to the calendar * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-calendar-job.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-calendar-job.html */ public function putCalendarJob(array $params = []) { @@ -958,12 +958,11 @@ public function putCalendarJob(array $params = []) * $params['id'] = (string) The ID of the data frame analytics to create * $params['body'] = (array) The data frame analytics configuration (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/put-dfanalytics.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/put-dfanalytics.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function putDataFrameAnalytics(array $params = []) { @@ -986,9 +985,9 @@ public function putDataFrameAnalytics(array $params = []) * $params['expand_wildcards'] = (enum) Whether source index expressions should get expanded to open or closed indices (default: open) (Options = open,closed,hidden,none,all) * $params['body'] = (array) The datafeed config (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-datafeed.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-datafeed.html */ public function putDatafeed(array $params = []) { @@ -1007,9 +1006,9 @@ public function putDatafeed(array $params = []) * $params['filter_id'] = (string) The ID of the filter to create * $params['body'] = (array) The filter details (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-filter.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-filter.html */ public function putFilter(array $params = []) { @@ -1028,9 +1027,9 @@ public function putFilter(array $params = []) * $params['job_id'] = (string) The ID of the job to create * $params['body'] = (array) The job (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html */ public function putJob(array $params = []) { @@ -1049,12 +1048,11 @@ public function putJob(array $params = []) * $params['model_id'] = (string) The ID of the trained models to store * $params['body'] = (array) The trained model configuration (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/put-inference.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/put-inference.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function putTrainedModel(array $params = []) { @@ -1075,9 +1073,9 @@ public function putTrainedModel(array $params = []) * $params['delete_intervening_results'] = (boolean) Should we reset the results back to the time of the snapshot? * $params['body'] = (array) Reversion options * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-revert-snapshot.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-revert-snapshot.html */ public function revertModelSnapshot(array $params = []) { @@ -1098,9 +1096,9 @@ public function revertModelSnapshot(array $params = []) * $params['enabled'] = (boolean) Whether to enable upgrade_mode ML setting or not. Defaults to false. * $params['timeout'] = (time) Controls the time to wait before action times out. Defaults to 30 seconds * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-set-upgrade-mode.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-set-upgrade-mode.html */ public function setUpgradeMode(array $params = []) { @@ -1116,12 +1114,11 @@ public function setUpgradeMode(array $params = []) * $params['timeout'] = (time) Controls the time to wait until the task has started. Defaults to 20 seconds * $params['body'] = (array) The start data frame analytics parameters * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/start-dfanalytics.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/start-dfanalytics.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function startDataFrameAnalytics(array $params = []) { @@ -1143,9 +1140,9 @@ public function startDataFrameAnalytics(array $params = []) * $params['timeout'] = (time) Controls the time to wait until a datafeed has started. Default to 20 seconds * $params['body'] = (array) The start datafeed parameters * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-start-datafeed.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-start-datafeed.html */ public function startDatafeed(array $params = []) { @@ -1167,12 +1164,11 @@ public function startDatafeed(array $params = []) * $params['timeout'] = (time) Controls the time to wait until the task has stopped. Defaults to 20 seconds * $params['body'] = (array) The stop data frame analytics parameters * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/stop-dfanalytics.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/stop-dfanalytics.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function stopDataFrameAnalytics(array $params = []) { @@ -1193,9 +1189,9 @@ public function stopDataFrameAnalytics(array $params = []) * $params['force'] = (boolean) True if the datafeed should be forcefully stopped. * $params['timeout'] = (time) Controls the time to wait until a datafeed has stopped. Default to 20 seconds * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-stop-datafeed.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-stop-datafeed.html */ public function stopDatafeed(array $params = []) { @@ -1212,12 +1208,11 @@ public function stopDatafeed(array $params = []) * $params['id'] = (string) The ID of the data frame analytics to update * $params['body'] = (array) The data frame analytics settings to update (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/update-dfanalytics.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/update-dfanalytics.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function updateDataFrameAnalytics(array $params = []) { @@ -1240,9 +1235,9 @@ public function updateDataFrameAnalytics(array $params = []) * $params['expand_wildcards'] = (enum) Whether source index expressions should get expanded to open or closed indices (default: open) (Options = open,closed,hidden,none,all) * $params['body'] = (array) The datafeed update settings (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-datafeed.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-datafeed.html */ public function updateDatafeed(array $params = []) { @@ -1261,9 +1256,9 @@ public function updateDatafeed(array $params = []) * $params['filter_id'] = (string) The ID of the filter to update * $params['body'] = (array) The filter update (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-filter.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-filter.html */ public function updateFilter(array $params = []) { @@ -1282,9 +1277,9 @@ public function updateFilter(array $params = []) * $params['job_id'] = (string) The ID of the job to create * $params['body'] = (array) The job update settings (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-job.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-job.html */ public function updateJob(array $params = []) { @@ -1304,9 +1299,9 @@ public function updateJob(array $params = []) * $params['snapshot_id'] = (string) The ID of the snapshot to update * $params['body'] = (array) The model snapshot properties to update (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-snapshot.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-snapshot.html */ public function updateModelSnapshot(array $params = []) { @@ -1326,9 +1321,9 @@ public function updateModelSnapshot(array $params = []) /** * $params['body'] = (array) The job config (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/machine-learning/current/ml-jobs.html + * @see https://www.elastic.co/guide/en/machine-learning/current/ml-jobs.html */ public function validate(array $params = []) { @@ -1344,9 +1339,9 @@ public function validate(array $params = []) /** * $params['body'] = (array) The detector (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/machine-learning/current/ml-jobs.html + * @see https://www.elastic.co/guide/en/machine-learning/current/ml-jobs.html */ public function validateDetector(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/MonitoringNamespace.php b/src/Elasticsearch/Namespaces/MonitoringNamespace.php index f5dcba04c..ce55a9367 100644 --- a/src/Elasticsearch/Namespaces/MonitoringNamespace.php +++ b/src/Elasticsearch/Namespaces/MonitoringNamespace.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class MonitoringNamespace extends AbstractNamespace { @@ -25,12 +33,11 @@ class MonitoringNamespace extends AbstractNamespace * $params['interval'] = (string) Collection interval (e.g., '10s' or '10000ms') of the payload * $params['body'] = (array) The operation definition and data (action-data pairs), separated by newlines (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/monitor-elasticsearch-cluster.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/monitor-elasticsearch-cluster.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function bulk(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/NamespaceBuilderInterface.php b/src/Elasticsearch/Namespaces/NamespaceBuilderInterface.php index 9ce6cc2ab..dca0d4662 100644 --- a/src/Elasticsearch/Namespaces/NamespaceBuilderInterface.php +++ b/src/Elasticsearch/Namespaces/NamespaceBuilderInterface.php @@ -1,14 +1,22 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ namespace Elasticsearch\Namespaces; diff --git a/src/Elasticsearch/Namespaces/NodesNamespace.php b/src/Elasticsearch/Namespaces/NodesNamespace.php index 2154d6a0f..f1a2a5234 100644 --- a/src/Elasticsearch/Namespaces/NodesNamespace.php +++ b/src/Elasticsearch/Namespaces/NodesNamespace.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class NodesNamespace extends AbstractNamespace { @@ -27,9 +35,9 @@ class NodesNamespace extends AbstractNamespace * $params['type'] = (enum) The type to sample (default: cpu) (Options = cpu,wait,block) * $params['timeout'] = (time) Explicit operation timeout * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html */ public function hotThreads(array $params = []) { @@ -48,9 +56,9 @@ public function hotThreads(array $params = []) * $params['flat_settings'] = (boolean) Return settings in flat format (default: false) * $params['timeout'] = (time) Explicit operation timeout * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html */ public function info(array $params = []) { @@ -70,9 +78,9 @@ public function info(array $params = []) * $params['timeout'] = (time) Explicit operation timeout * $params['body'] = (array) An object containing the password for the elasticsearch keystore * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/secure-settings.html#reloadable-secure-settings + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/secure-settings.html#reloadable-secure-settings */ public function reloadSecureSettings(array $params = []) { @@ -100,9 +108,9 @@ public function reloadSecureSettings(array $params = []) * $params['timeout'] = (time) Explicit operation timeout * $params['include_segment_file_sizes'] = (boolean) Whether to report the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested) (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html */ public function stats(array $params = []) { @@ -124,9 +132,9 @@ public function stats(array $params = []) * $params['metric'] = (list) Limit the information returned to the specified metrics * $params['timeout'] = (time) Explicit operation timeout * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html */ public function usage(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/RollupNamespace.php b/src/Elasticsearch/Namespaces/RollupNamespace.php index 49f77eda5..3f8f87015 100644 --- a/src/Elasticsearch/Namespaces/RollupNamespace.php +++ b/src/Elasticsearch/Namespaces/RollupNamespace.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class RollupNamespace extends AbstractNamespace { @@ -21,12 +29,11 @@ class RollupNamespace extends AbstractNamespace /** * $params['id'] = (string) The ID of the job to delete * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-delete-job.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-delete-job.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function deleteJob(array $params = []) { @@ -42,12 +49,11 @@ public function deleteJob(array $params = []) /** * $params['id'] = (string) The ID of the job(s) to fetch. Accepts glob patterns, or left blank for all jobs * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-get-job.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-get-job.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function getJobs(array $params = []) { @@ -63,12 +69,11 @@ public function getJobs(array $params = []) /** * $params['id'] = (string) The ID of the index to check rollup capabilities on, or left blank for all jobs * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-get-rollup-caps.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-get-rollup-caps.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function getRollupCaps(array $params = []) { @@ -84,12 +89,11 @@ public function getRollupCaps(array $params = []) /** * $params['index'] = (string) The rollup index or index pattern to obtain rollup capabilities from. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-get-rollup-index-caps.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-get-rollup-index-caps.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function getRollupIndexCaps(array $params = []) { @@ -106,12 +110,11 @@ public function getRollupIndexCaps(array $params = []) * $params['id'] = (string) The ID of the job to create * $params['body'] = (array) The job configuration (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-put-job.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-put-job.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function putJob(array $params = []) { @@ -133,12 +136,11 @@ public function putJob(array $params = []) * $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) * $params['body'] = (array) The search request body (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-search.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-search.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function rollupSearch(array $params = []) { @@ -158,12 +160,11 @@ public function rollupSearch(array $params = []) /** * $params['id'] = (string) The ID of the job to start * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-start-job.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-start-job.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function startJob(array $params = []) { @@ -181,12 +182,11 @@ public function startJob(array $params = []) * $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. * $params['timeout'] = (time) Block for (at maximum) the specified duration while waiting for the job to stop. Defaults to 30s. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-stop-job.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-stop-job.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function stopJob(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/SearchableSnapshotsNamespace.php b/src/Elasticsearch/Namespaces/SearchableSnapshotsNamespace.php index d0ec73e82..ab4384a57 100644 --- a/src/Elasticsearch/Namespaces/SearchableSnapshotsNamespace.php +++ b/src/Elasticsearch/Namespaces/SearchableSnapshotsNamespace.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class SearchableSnapshotsNamespace extends AbstractNamespace { @@ -24,12 +32,11 @@ class SearchableSnapshotsNamespace extends AbstractNamespace * $params['allow_no_indices'] = (boolean) Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,none,all) (Default = open) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/searchable-snapshots-api-clear-cache.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/searchable-snapshots-api-clear-cache.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function clearCache(array $params = []) { @@ -49,12 +56,11 @@ public function clearCache(array $params = []) * $params['wait_for_completion'] = (boolean) Should this request wait until the operation has completed before returning (Default = false) * $params['body'] = (array) The restore configuration for mounting the snapshot as searchable (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/searchable-snapshots-api-mount-snapshot.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/searchable-snapshots-api-mount-snapshot.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function mount(array $params = []) { @@ -74,12 +80,11 @@ public function mount(array $params = []) /** * $params['repository'] = (string) The repository for which to get the stats for * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/searchable-snapshots-repository-stats.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/searchable-snapshots-repository-stats.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function repositoryStats(array $params = []) { @@ -95,12 +100,11 @@ public function repositoryStats(array $params = []) /** * $params['index'] = (list) A comma-separated list of index names * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/searchable-snapshots-api-stats.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/searchable-snapshots-api-stats.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - * */ public function stats(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/SecurityNamespace.php b/src/Elasticsearch/Namespaces/SecurityNamespace.php index 131b607f2..8638d84f7 100644 --- a/src/Elasticsearch/Namespaces/SecurityNamespace.php +++ b/src/Elasticsearch/Namespaces/SecurityNamespace.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class SecurityNamespace extends AbstractNamespace { /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-authenticate.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-authenticate.html */ public function authenticate(array $params = []) { @@ -38,9 +46,9 @@ public function authenticate(array $params = []) * $params['refresh'] = (enum) If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. (Options = true,false,wait_for) * $params['body'] = (array) the new password for the user (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html */ public function changePassword(array $params = []) { @@ -58,9 +66,9 @@ public function changePassword(array $params = []) /** * $params['application'] = (list) A comma-separated list of application names * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-privilege-cache.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-privilege-cache.html */ public function clearCachedPrivileges(array $params = []) { @@ -77,9 +85,9 @@ public function clearCachedPrivileges(array $params = []) * $params['realms'] = (list) Comma-separated list of realms to clear * $params['usernames'] = (list) Comma-separated list of usernames to clear from the cache * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-cache.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-cache.html */ public function clearCachedRealms(array $params = []) { @@ -95,9 +103,9 @@ public function clearCachedRealms(array $params = []) /** * $params['name'] = (list) Role name * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-role-cache.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-role-cache.html */ public function clearCachedRoles(array $params = []) { @@ -114,9 +122,9 @@ public function clearCachedRoles(array $params = []) * $params['refresh'] = (enum) If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. (Options = true,false,wait_for) * $params['body'] = (array) The api key request to create an API key (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-api-key.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-api-key.html */ public function createApiKey(array $params = []) { @@ -134,9 +142,9 @@ public function createApiKey(array $params = []) * $params['name'] = (string) Privilege name * $params['refresh'] = (enum) If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. (Options = true,false,wait_for) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-privilege.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-privilege.html */ public function deletePrivileges(array $params = []) { @@ -155,9 +163,9 @@ public function deletePrivileges(array $params = []) * $params['name'] = (string) Role name * $params['refresh'] = (enum) If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. (Options = true,false,wait_for) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-role.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-role.html */ public function deleteRole(array $params = []) { @@ -174,9 +182,9 @@ public function deleteRole(array $params = []) * $params['name'] = (string) Role-mapping name * $params['refresh'] = (enum) If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. (Options = true,false,wait_for) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-role-mapping.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-role-mapping.html */ public function deleteRoleMapping(array $params = []) { @@ -193,9 +201,9 @@ public function deleteRoleMapping(array $params = []) * $params['username'] = (string) username * $params['refresh'] = (enum) If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. (Options = true,false,wait_for) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-user.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-user.html */ public function deleteUser(array $params = []) { @@ -212,9 +220,9 @@ public function deleteUser(array $params = []) * $params['username'] = (string) The username of the user to disable * $params['refresh'] = (enum) If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. (Options = true,false,wait_for) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-disable-user.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-disable-user.html */ public function disableUser(array $params = []) { @@ -231,9 +239,9 @@ public function disableUser(array $params = []) * $params['username'] = (string) The username of the user to enable * $params['refresh'] = (enum) If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. (Options = true,false,wait_for) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-enable-user.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-enable-user.html */ public function enableUser(array $params = []) { @@ -253,9 +261,9 @@ public function enableUser(array $params = []) * $params['realm_name'] = (string) realm name of the user who created this API key to be retrieved * $params['owner'] = (boolean) flag to query API keys owned by the currently authenticated user (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-api-key.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-api-key.html */ public function getApiKey(array $params = []) { @@ -268,9 +276,9 @@ public function getApiKey(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-builtin-privileges.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-builtin-privileges.html */ public function getBuiltinPrivileges(array $params = []) { @@ -285,9 +293,9 @@ public function getBuiltinPrivileges(array $params = []) * $params['application'] = (string) Application name * $params['name'] = (string) Privilege name * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-privileges.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-privileges.html */ public function getPrivileges(array $params = []) { @@ -305,9 +313,9 @@ public function getPrivileges(array $params = []) /** * $params['name'] = (string) Role name * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role.html */ public function getRole(array $params = []) { @@ -323,9 +331,9 @@ public function getRole(array $params = []) /** * $params['name'] = (string) Role-Mapping name * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role-mapping.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role-mapping.html */ public function getRoleMapping(array $params = []) { @@ -341,9 +349,9 @@ public function getRoleMapping(array $params = []) /** * $params['body'] = (array) The token request to get (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-token.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-token.html */ public function getToken(array $params = []) { @@ -359,9 +367,9 @@ public function getToken(array $params = []) /** * $params['username'] = (list) A comma-separated list of usernames * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-user.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-user.html */ public function getUser(array $params = []) { @@ -376,9 +384,9 @@ public function getUser(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-privileges.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-privileges.html */ public function getUserPrivileges(array $params = []) { @@ -393,9 +401,9 @@ public function getUserPrivileges(array $params = []) * $params['user'] = (string) Username * $params['body'] = (array) The privileges to test (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges.html */ public function hasPrivileges(array $params = []) { @@ -424,9 +432,9 @@ public function invalidateApiKey(array $params = []) /** * $params['body'] = (array) The token to invalidate (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-invalidate-token.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-invalidate-token.html */ public function invalidateToken(array $params = []) { @@ -443,9 +451,9 @@ public function invalidateToken(array $params = []) * $params['refresh'] = (enum) If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. (Options = true,false,wait_for) * $params['body'] = (array) The privilege(s) to add (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-privileges.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-privileges.html */ public function putPrivileges(array $params = []) { @@ -463,9 +471,9 @@ public function putPrivileges(array $params = []) * $params['refresh'] = (enum) If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. (Options = true,false,wait_for) * $params['body'] = (array) The role to add (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role.html */ public function putRole(array $params = []) { @@ -485,9 +493,9 @@ public function putRole(array $params = []) * $params['refresh'] = (enum) If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. (Options = true,false,wait_for) * $params['body'] = (array) The role mapping to add (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role-mapping.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role-mapping.html */ public function putRoleMapping(array $params = []) { @@ -507,9 +515,9 @@ public function putRoleMapping(array $params = []) * $params['refresh'] = (enum) If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. (Options = true,false,wait_for) * $params['body'] = (array) The user to add (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-user.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-user.html */ public function putUser(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/SlmNamespace.php b/src/Elasticsearch/Namespaces/SlmNamespace.php index df05dc406..cf5704bd7 100644 --- a/src/Elasticsearch/Namespaces/SlmNamespace.php +++ b/src/Elasticsearch/Namespaces/SlmNamespace.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class SlmNamespace extends AbstractNamespace { @@ -21,9 +29,9 @@ class SlmNamespace extends AbstractNamespace /** * $params['policy_id'] = (string) The id of the snapshot lifecycle policy to remove * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-delete-policy.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-delete-policy.html */ public function deleteLifecycle(array $params = []) { @@ -39,9 +47,9 @@ public function deleteLifecycle(array $params = []) /** * $params['policy_id'] = (string) The id of the snapshot lifecycle policy to be executed * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-execute-lifecycle.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-execute-lifecycle.html */ public function executeLifecycle(array $params = []) { @@ -56,9 +64,9 @@ public function executeLifecycle(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-execute-retention.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-execute-retention.html */ public function executeRetention(array $params = []) { @@ -72,9 +80,9 @@ public function executeRetention(array $params = []) /** * $params['policy_id'] = (list) Comma-separated list of snapshot lifecycle policies to retrieve * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-get-policy.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-get-policy.html */ public function getLifecycle(array $params = []) { @@ -89,9 +97,9 @@ public function getLifecycle(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/slm-api-get-stats.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/slm-api-get-stats.html */ public function getStats(array $params = []) { @@ -104,9 +112,9 @@ public function getStats(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-get-status.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-get-status.html */ public function getStatus(array $params = []) { @@ -121,9 +129,9 @@ public function getStatus(array $params = []) * $params['policy_id'] = (string) The id of the snapshot lifecycle policy * $params['body'] = (array) The snapshot lifecycle policy definition to register * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-put-policy.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-put-policy.html */ public function putLifecycle(array $params = []) { @@ -140,9 +148,9 @@ public function putLifecycle(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-start.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-start.html */ public function start(array $params = []) { @@ -155,9 +163,9 @@ public function start(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-stop.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-stop.html */ public function stop(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/SnapshotNamespace.php b/src/Elasticsearch/Namespaces/SnapshotNamespace.php index 9ab89d554..1301b4f0d 100644 --- a/src/Elasticsearch/Namespaces/SnapshotNamespace.php +++ b/src/Elasticsearch/Namespaces/SnapshotNamespace.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class SnapshotNamespace extends AbstractNamespace { @@ -23,9 +31,9 @@ class SnapshotNamespace extends AbstractNamespace * $params['master_timeout'] = (time) Explicit operation timeout for connection to master node * $params['timeout'] = (time) Explicit operation timeout * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/clean-up-snapshot-repo-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/clean-up-snapshot-repo-api.html */ public function cleanupRepository(array $params = []) { @@ -45,9 +53,9 @@ public function cleanupRepository(array $params = []) * $params['wait_for_completion'] = (boolean) Should this request wait until the operation has completed before returning (Default = false) * $params['body'] = (array) The snapshot definition * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html */ public function create(array $params = []) { @@ -71,9 +79,9 @@ public function create(array $params = []) * $params['verify'] = (boolean) Whether to verify the repository after creation * $params['body'] = (array) The repository definition (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html */ public function createRepository(array $params = []) { @@ -93,9 +101,9 @@ public function createRepository(array $params = []) * $params['snapshot'] = (string) A snapshot name * $params['master_timeout'] = (time) Explicit operation timeout for connection to master node * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html */ public function delete(array $params = []) { @@ -115,9 +123,9 @@ public function delete(array $params = []) * $params['master_timeout'] = (time) Explicit operation timeout for connection to master node * $params['timeout'] = (time) Explicit operation timeout * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html */ public function deleteRepository(array $params = []) { @@ -137,9 +145,9 @@ public function deleteRepository(array $params = []) * $params['ignore_unavailable'] = (boolean) Whether to ignore unavailable snapshots, defaults to false which means a SnapshotMissingException is thrown * $params['verbose'] = (boolean) Whether to show verbose snapshot info or only show the basic info found in the repository index blob * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html */ public function get(array $params = []) { @@ -159,9 +167,9 @@ public function get(array $params = []) * $params['master_timeout'] = (time) Explicit operation timeout for connection to master node * $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html */ public function getRepository(array $params = []) { @@ -181,9 +189,9 @@ public function getRepository(array $params = []) * $params['wait_for_completion'] = (boolean) Should this request wait until the operation has completed before returning (Default = false) * $params['body'] = (array) Details of what to restore * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html */ public function restore(array $params = []) { @@ -206,9 +214,9 @@ public function restore(array $params = []) * $params['master_timeout'] = (time) Explicit operation timeout for connection to master node * $params['ignore_unavailable'] = (boolean) Whether to ignore unavailable snapshots, defaults to false which means a SnapshotMissingException is thrown * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html */ public function status(array $params = []) { @@ -228,9 +236,9 @@ public function status(array $params = []) * $params['master_timeout'] = (time) Explicit operation timeout for connection to master node * $params['timeout'] = (time) Explicit operation timeout * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html */ public function verifyRepository(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/SqlNamespace.php b/src/Elasticsearch/Namespaces/SqlNamespace.php index a3e15593d..a988cd4f1 100644 --- a/src/Elasticsearch/Namespaces/SqlNamespace.php +++ b/src/Elasticsearch/Namespaces/SqlNamespace.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class SqlNamespace extends AbstractNamespace { @@ -33,9 +41,9 @@ public function clearCursor(array $params = []) * $params['format'] = (string) a short version of the Accept header, e.g. json, yaml * $params['body'] = (array) Use the `query` element to start a query. Use the `cursor` element to continue a query. (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-rest-overview.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-rest-overview.html */ public function query(array $params = []) { @@ -51,9 +59,9 @@ public function query(array $params = []) /** * $params['body'] = (array) Specify the query in the `query` element. (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-translate.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-translate.html */ public function translate(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/SslNamespace.php b/src/Elasticsearch/Namespaces/SslNamespace.php index e97f94a9e..b3dd8ac4d 100644 --- a/src/Elasticsearch/Namespaces/SslNamespace.php +++ b/src/Elasticsearch/Namespaces/SslNamespace.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class SslNamespace extends AbstractNamespace { /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-ssl.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-ssl.html */ public function certificates(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/TasksNamespace.php b/src/Elasticsearch/Namespaces/TasksNamespace.php index ba59541ad..4caab9cbc 100644 --- a/src/Elasticsearch/Namespaces/TasksNamespace.php +++ b/src/Elasticsearch/Namespaces/TasksNamespace.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class TasksNamespace extends AbstractNamespace { @@ -25,9 +33,9 @@ class TasksNamespace extends AbstractNamespace * $params['parent_task_id'] = (string) Cancel tasks with specified parent task id (node_id:task_number). Set to -1 to cancel all. * $params['wait_for_completion'] = (boolean) Should the request block until the cancellation of the task and its descendant tasks is completed. Defaults to false * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html */ public function cancel(array $params = []) { @@ -45,9 +53,9 @@ public function cancel(array $params = []) * $params['wait_for_completion'] = (boolean) Wait for the matching tasks to complete (default: false) * $params['timeout'] = (time) Explicit operation timeout * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html */ public function get(array $params = []) { @@ -69,9 +77,9 @@ public function get(array $params = []) * $params['group_by'] = (enum) Group tasks by nodes or parent/child relationships (Options = nodes,parents,none) (Default = nodes) * $params['timeout'] = (time) Explicit operation timeout * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html */ public function list(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/TransformNamespace.php b/src/Elasticsearch/Namespaces/TransformNamespace.php index 17a618358..245fe143d 100644 --- a/src/Elasticsearch/Namespaces/TransformNamespace.php +++ b/src/Elasticsearch/Namespaces/TransformNamespace.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class TransformNamespace extends AbstractNamespace { @@ -22,9 +30,9 @@ class TransformNamespace extends AbstractNamespace * $params['transform_id'] = (string) The id of the transform to delete * $params['force'] = (boolean) When `true`, the transform is deleted regardless of its current state. The default value is `false`, meaning that the transform must be `stopped` before it can be deleted. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-transform.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-transform.html */ public function deleteTransform(array $params = []) { @@ -43,9 +51,9 @@ public function deleteTransform(array $params = []) * $params['size'] = (int) specifies a max number of transforms to get, defaults to 100 * $params['allow_no_match'] = (boolean) Whether to ignore if a wildcard expression matches no transforms. (This includes `_all` string or when no transforms have been specified) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform.html */ public function getTransform(array $params = []) { @@ -64,9 +72,9 @@ public function getTransform(array $params = []) * $params['size'] = (number) specifies a max number of transform stats to get, defaults to 100 * $params['allow_no_match'] = (boolean) Whether to ignore if a wildcard expression matches no transforms. (This includes `_all` string or when no transforms have been specified) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform-stats.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform-stats.html */ public function getTransformStats(array $params = []) { @@ -95,9 +103,9 @@ public function previewTransform(array $params = []) * $params['defer_validation'] = (boolean) If validations should be deferred until transform starts, defaults to false. * $params['body'] = (array) The transform definition (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/put-transform.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/put-transform.html */ public function putTransform(array $params = []) { @@ -116,9 +124,9 @@ public function putTransform(array $params = []) * $params['transform_id'] = (string) The id of the transform to start * $params['timeout'] = (time) Controls the time to wait for the transform to start * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/start-transform.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/start-transform.html */ public function startTransform(array $params = []) { @@ -139,9 +147,9 @@ public function startTransform(array $params = []) * $params['allow_no_match'] = (boolean) Whether to ignore if a wildcard expression matches no transforms. (This includes `_all` string or when no transforms have been specified) * $params['wait_for_checkpoint'] = (boolean) Whether to wait for the transform to reach a checkpoint before stopping. Default to false * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/stop-transform.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/stop-transform.html */ public function stopTransform(array $params = []) { @@ -159,9 +167,9 @@ public function stopTransform(array $params = []) * $params['defer_validation'] = (boolean) If validations should be deferred until transform starts, defaults to false. * $params['body'] = (array) The update transform definition (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/update-transform.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/update-transform.html */ public function updateTransform(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/WatcherNamespace.php b/src/Elasticsearch/Namespaces/WatcherNamespace.php index a03d7d394..0193ed715 100644 --- a/src/Elasticsearch/Namespaces/WatcherNamespace.php +++ b/src/Elasticsearch/Namespaces/WatcherNamespace.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class WatcherNamespace extends AbstractNamespace { @@ -22,9 +30,9 @@ class WatcherNamespace extends AbstractNamespace * $params['watch_id'] = (string) Watch ID (Required) * $params['action_id'] = (list) A comma-separated list of the action ids to be acked * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html */ public function ackWatch(array $params = []) { @@ -42,9 +50,9 @@ public function ackWatch(array $params = []) /** * $params['watch_id'] = (string) Watch ID * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-activate-watch.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-activate-watch.html */ public function activateWatch(array $params = []) { @@ -60,9 +68,9 @@ public function activateWatch(array $params = []) /** * $params['watch_id'] = (string) Watch ID * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-deactivate-watch.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-deactivate-watch.html */ public function deactivateWatch(array $params = []) { @@ -78,9 +86,9 @@ public function deactivateWatch(array $params = []) /** * $params['id'] = (string) Watch ID * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-delete-watch.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-delete-watch.html */ public function deleteWatch(array $params = []) { @@ -98,9 +106,9 @@ public function deleteWatch(array $params = []) * $params['debug'] = (boolean) indicates whether the watch should execute in debug mode * $params['body'] = (array) Execution control * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html */ public function executeWatch(array $params = []) { @@ -118,9 +126,9 @@ public function executeWatch(array $params = []) /** * $params['id'] = (string) Watch ID * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-get-watch.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-get-watch.html */ public function getWatch(array $params = []) { @@ -141,9 +149,9 @@ public function getWatch(array $params = []) * $params['if_primary_term'] = (number) only update the watch if the last operation that has changed the watch has the specified primary term * $params['body'] = (array) The watch * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-put-watch.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-put-watch.html */ public function putWatch(array $params = []) { @@ -160,9 +168,9 @@ public function putWatch(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-start.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-start.html */ public function start(array $params = []) { @@ -177,9 +185,9 @@ public function start(array $params = []) * $params['metric'] = (list) Controls what additional stat metrics should be include in the response * $params['emit_stacktraces'] = (boolean) Emits stack traces of currently running watches * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stats.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stats.html */ public function stats(array $params = []) { @@ -194,9 +202,9 @@ public function stats(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stop.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stop.html */ public function stop(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/XpackNamespace.php b/src/Elasticsearch/Namespaces/XpackNamespace.php index 331d6c796..8b7170b9d 100644 --- a/src/Elasticsearch/Namespaces/XpackNamespace.php +++ b/src/Elasticsearch/Namespaces/XpackNamespace.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class XpackNamespace extends AbstractNamespace { @@ -22,9 +30,9 @@ class XpackNamespace extends AbstractNamespace * $params['categories'] = (list) Comma-separated list of info categories. Can be any of: build, license, features * $params['accept_enterprise'] = (boolean) If an enterprise license is installed, return the type and mode as 'enterprise' (default: false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/info-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/info-api.html */ public function info(array $params = []) { @@ -38,9 +46,9 @@ public function info(array $params = []) /** * $params['master_timeout'] = (time) Specify timeout for watch write operation * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/usage-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/usage-api.html */ public function usage(array $params = []) { diff --git a/src/Elasticsearch/Serializers/ArrayToJSONSerializer.php b/src/Elasticsearch/Serializers/ArrayToJSONSerializer.php index c6ed3c779..12631f0e8 100644 --- a/src/Elasticsearch/Serializers/ArrayToJSONSerializer.php +++ b/src/Elasticsearch/Serializers/ArrayToJSONSerializer.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ class ArrayToJSONSerializer implements SerializerInterface { /** diff --git a/src/Elasticsearch/Serializers/EverythingToJSONSerializer.php b/src/Elasticsearch/Serializers/EverythingToJSONSerializer.php index 6bb03a824..a1a82c0e3 100644 --- a/src/Elasticsearch/Serializers/EverythingToJSONSerializer.php +++ b/src/Elasticsearch/Serializers/EverythingToJSONSerializer.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ class EverythingToJSONSerializer implements SerializerInterface { /** diff --git a/src/Elasticsearch/Serializers/SerializerInterface.php b/src/Elasticsearch/Serializers/SerializerInterface.php index 4270d1330..e759ea55b 100644 --- a/src/Elasticsearch/Serializers/SerializerInterface.php +++ b/src/Elasticsearch/Serializers/SerializerInterface.php @@ -1,18 +1,23 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ interface SerializerInterface { /** diff --git a/src/Elasticsearch/Serializers/SmartSerializer.php b/src/Elasticsearch/Serializers/SmartSerializer.php index 8317a1743..dac88dee3 100644 --- a/src/Elasticsearch/Serializers/SmartSerializer.php +++ b/src/Elasticsearch/Serializers/SmartSerializer.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ class SmartSerializer implements SerializerInterface { /** diff --git a/src/Elasticsearch/Transport.php b/src/Elasticsearch/Transport.php index 37ee4b0f6..4cf97e504 100644 --- a/src/Elasticsearch/Transport.php +++ b/src/Elasticsearch/Transport.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co - */ class Transport { /** diff --git a/src/autoload.php b/src/autoload.php index 8fef77815..8c43576a8 100644 --- a/src/autoload.php +++ b/src/autoload.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elasticsearch.org */ class BackwardCompatibleTest extends \PHPUnit\Framework\TestCase { diff --git a/tests/Elasticsearch/Tests/ClientBuilder/ArrayLogger.php b/tests/Elasticsearch/Tests/ClientBuilder/ArrayLogger.php index 66f102f38..bd31a9177 100644 --- a/tests/Elasticsearch/Tests/ClientBuilder/ArrayLogger.php +++ b/tests/Elasticsearch/Tests/ClientBuilder/ArrayLogger.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elasticsearch.org */ class ClientIntegrationTest extends \PHPUnit\Framework\TestCase { @@ -74,10 +83,12 @@ public function testLogRequestFailHasWarning() ->build(); try { - $result = $client->get([ + $result = $client->get( + [ 'index' => 'foo', 'id' => 'bar' - ]); + ] + ); } catch (Missing404Exception $e) { $this->assertNotEmpty($this->getLevelOutput(LogLevel::WARNING, $this->logger->output)); } diff --git a/tests/Elasticsearch/Tests/ClientTest.php b/tests/Elasticsearch/Tests/ClientTest.php index f00b9c4a6..ce833a911 100644 --- a/tests/Elasticsearch/Tests/ClientTest.php +++ b/tests/Elasticsearch/Tests/ClientTest.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elasticsearch.org */ class ClientTest extends \PHPUnit\Framework\TestCase { @@ -457,14 +466,16 @@ public function testExtendedHosts() public function testClientLazy() { - $handler = new MockHandler([ - 'status' => 200, - 'transfer_stats' => [ + $handler = new MockHandler( + [ + 'status' => 200, + 'transfer_stats' => [ 'total_time' => 100 - ], - 'body' => '{test}', - 'effective_url' => 'localhost' - ]); + ], + 'body' => '{test}', + 'effective_url' => 'localhost' + ] + ); $builder = ClientBuilder::create(); $builder->setHosts(['somehost']); $builder->setHandler($handler); diff --git a/tests/Elasticsearch/Tests/ConnectionPool/Selectors/RoundRobinSelectorTest.php b/tests/Elasticsearch/Tests/ConnectionPool/Selectors/RoundRobinSelectorTest.php index c7eda50de..e6e58f2ea 100644 --- a/tests/Elasticsearch/Tests/ConnectionPool/Selectors/RoundRobinSelectorTest.php +++ b/tests/Elasticsearch/Tests/ConnectionPool/Selectors/RoundRobinSelectorTest.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elasticsearch.org */ class RoundRobinSelectorTest extends \PHPUnit\Framework\TestCase { diff --git a/tests/Elasticsearch/Tests/ConnectionPool/Selectors/StickyRoundRobinSelectorTest.php b/tests/Elasticsearch/Tests/ConnectionPool/Selectors/StickyRoundRobinSelectorTest.php index e36222661..ab6657ece 100644 --- a/tests/Elasticsearch/Tests/ConnectionPool/Selectors/StickyRoundRobinSelectorTest.php +++ b/tests/Elasticsearch/Tests/ConnectionPool/Selectors/StickyRoundRobinSelectorTest.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elasticsearch.org */ class StickyRoundRobinSelectorTest extends \PHPUnit\Framework\TestCase { diff --git a/tests/Elasticsearch/Tests/ConnectionPool/SniffingConnectionPoolIntegrationTest.php b/tests/Elasticsearch/Tests/ConnectionPool/SniffingConnectionPoolIntegrationTest.php index e4a0aa604..50b2de650 100644 --- a/tests/Elasticsearch/Tests/ConnectionPool/SniffingConnectionPoolIntegrationTest.php +++ b/tests/Elasticsearch/Tests/ConnectionPool/SniffingConnectionPoolIntegrationTest.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elasticsearch.org */ class SniffingConnectionPoolIntegrationTest extends \PHPUnit\Framework\TestCase { diff --git a/tests/Elasticsearch/Tests/ConnectionPool/SniffingConnectionPoolTest.php b/tests/Elasticsearch/Tests/ConnectionPool/SniffingConnectionPoolTest.php index 6d7fdfe47..e47b2b297 100644 --- a/tests/Elasticsearch/Tests/ConnectionPool/SniffingConnectionPoolTest.php +++ b/tests/Elasticsearch/Tests/ConnectionPool/SniffingConnectionPoolTest.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elasticsearch.org */ class SniffingConnectionPoolTest extends \PHPUnit\Framework\TestCase { diff --git a/tests/Elasticsearch/Tests/ConnectionPool/StaticConnectionPoolIntegrationTest.php b/tests/Elasticsearch/Tests/ConnectionPool/StaticConnectionPoolIntegrationTest.php index f21febac5..914c3b0a5 100644 --- a/tests/Elasticsearch/Tests/ConnectionPool/StaticConnectionPoolIntegrationTest.php +++ b/tests/Elasticsearch/Tests/ConnectionPool/StaticConnectionPoolIntegrationTest.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elasticsearch.org */ class StaticConnectionPoolIntegrationTest extends \PHPUnit\Framework\TestCase { @@ -28,10 +37,12 @@ public function setUp() { $this->host = Utility::getHost(); if (null == $this->host) { - $this->markTestSkipped(sprintf( - "I cannot execute %s without TEST_SUITE env", - __CLASS__ - )); + $this->markTestSkipped( + sprintf( + "I cannot execute %s without TEST_SUITE env", + __CLASS__ + ) + ); } } diff --git a/tests/Elasticsearch/Tests/ConnectionPool/StaticConnectionPoolTest.php b/tests/Elasticsearch/Tests/ConnectionPool/StaticConnectionPoolTest.php index 2e1640011..7b3aec3be 100644 --- a/tests/Elasticsearch/Tests/ConnectionPool/StaticConnectionPoolTest.php +++ b/tests/Elasticsearch/Tests/ConnectionPool/StaticConnectionPoolTest.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elasticsearch.org */ class StaticConnectionPoolTest extends \PHPUnit\Framework\TestCase { diff --git a/tests/Elasticsearch/Tests/Connections/ConnectionTest.php b/tests/Elasticsearch/Tests/Connections/ConnectionTest.php index 11ff793f7..e0f8184f3 100644 --- a/tests/Elasticsearch/Tests/Connections/ConnectionTest.php +++ b/tests/Elasticsearch/Tests/Connections/ConnectionTest.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://Elasticsearch.org */ class SearchHitIteratorTest extends \PHPUnit\Framework\TestCase { diff --git a/tests/Elasticsearch/Tests/Helper/Iterators/SearchResponseIteratorTest.php b/tests/Elasticsearch/Tests/Helper/Iterators/SearchResponseIteratorTest.php index 4c5026999..e8836ff36 100644 --- a/tests/Elasticsearch/Tests/Helper/Iterators/SearchResponseIteratorTest.php +++ b/tests/Elasticsearch/Tests/Helper/Iterators/SearchResponseIteratorTest.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://Elasticsearch.org */ class SearchResponseIteratorTest extends \PHPUnit\Framework\TestCase { diff --git a/tests/Elasticsearch/Tests/RegisteredNamespaceTest.php b/tests/Elasticsearch/Tests/RegisteredNamespaceTest.php index ab99ac0e1..6467da0fb 100644 --- a/tests/Elasticsearch/Tests/RegisteredNamespaceTest.php +++ b/tests/Elasticsearch/Tests/RegisteredNamespaceTest.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elasticsearch.org */ class RegisteredNamespaceTest extends \PHPUnit\Framework\TestCase { diff --git a/tests/Elasticsearch/Tests/Serializers/ArrayToJSONSerializerTest.php b/tests/Elasticsearch/Tests/Serializers/ArrayToJSONSerializerTest.php index ad7e96a25..d4ba80ea0 100644 --- a/tests/Elasticsearch/Tests/Serializers/ArrayToJSONSerializerTest.php +++ b/tests/Elasticsearch/Tests/Serializers/ArrayToJSONSerializerTest.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elasticsearch.org */ class YamlRunnerTest extends \PHPUnit\Framework\TestCase { @@ -716,9 +725,9 @@ public function operationSet($operation, $lastOperationResult, &$context, string /** * Skip an operation depending on Elasticsearch Version * - * @param \stdClass &object $operation - * @param array|string|null $lastOperationResult - * @param string $testName + * @param \stdClass &object $operation + * @param array|string|null $lastOperationResult + * @param string $testName */ public function operationSkip($operation, $lastOperationResult, string $testName) { @@ -748,22 +757,26 @@ public function operationSkip($operation, $lastOperationResult, string $testName } if (isset($version[0]) && !empty($version[0])) { if (version_compare(static::$esVersion, $version[0], '<')) { - static::markTestSkipped(sprintf( - "Skip test %s, as ES version %s should be skipped (%s)", - $testName, - static::$esVersion, - $operation->reason - )); + static::markTestSkipped( + sprintf( + "Skip test %s, as ES version %s should be skipped (%s)", + $testName, + static::$esVersion, + $operation->reason + ) + ); } } if (isset($version[1]) && !empty($version[1])) { if (version_compare(static::$esVersion, $version[1], '>')) { - static::markTestSkipped(sprintf( - "Skip test %s, as ES version %s should be skipped (%s)", - $testName, - static::$esVersion, - $operation->reason - )); + static::markTestSkipped( + sprintf( + "Skip test %s, as ES version %s should be skipped (%s)", + $testName, + static::$esVersion, + $operation->reason + ) + ); } } } diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 0c6b0ef4c..5b6593e1d 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -1,4 +1,18 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class Client { diff --git a/util/template/endpoint-bulk-class b/util/template/endpoint-bulk-class index 08b334f86..52da4910a 100644 --- a/util/template/endpoint-bulk-class +++ b/util/template/endpoint-bulk-class @@ -1,4 +1,17 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class :endpoint extends AbstractEndpoint { diff --git a/util/template/endpoint-class b/util/template/endpoint-class index 2a2ee3a4e..390979782 100644 --- a/util/template/endpoint-class +++ b/util/template/endpoint-class @@ -1,4 +1,17 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class :endpoint extends AbstractEndpoint { diff --git a/util/template/namespace-class b/util/template/namespace-class index d0fc87a81..3069c33b5 100644 --- a/util/template/namespace-class +++ b/util/template/namespace-class @@ -1,4 +1,17 @@ - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2 - * @link http://elastic.co */ class :namespace extends AbstractNamespace {