Skip to content

Commit c3164a0

Browse files
committed
Updated endpoints with ES 7.16
1 parent 02b24c7 commit c3164a0

File tree

437 files changed

+943
-519
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

437 files changed

+943
-519
lines changed

src/Elasticsearch/Client.php

Lines changed: 14 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
* Class Client
6666
*
6767
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
68-
* and Elasticsearch 7.16.0-SNAPSHOT (dfc9a8e7563ed5f24b5210ed21ed92ae182cd0ee)
68+
* and Elasticsearch 7.16.0-SNAPSHOT (77a65eb1c87e755ec61b0c01175566f0c8ba1494)
6969
*/
7070
class Client
7171
{
@@ -523,9 +523,6 @@ public function delete(array $params = [])
523523
* $params['size'] = (number) Deprecated, please use `max_docs` instead
524524
* $params['max_docs'] = (number) Maximum number of documents to process (default: all documents)
525525
* $params['sort'] = (list) A comma-separated list of <field>:<direction> pairs
526-
* $params['_source'] = (list) True or false to return the _source field or not, or a list of fields to return
527-
* $params['_source_excludes'] = (list) A list of fields to exclude from the returned _source field
528-
* $params['_source_includes'] = (list) A list of fields to extract and return from the _source field
529526
* $params['terminate_after'] = (number) The maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early.
530527
* $params['stats'] = (list) Specific 'tag' of the request for logging and statistical purposes
531528
* $params['version'] = (boolean) Specify whether to return document version as part of a hit
@@ -811,9 +808,6 @@ public function getScript(array $params = [])
811808
* @param array $params Associative array of parameters
812809
* @return array
813810
* @see https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-contexts.html
814-
*
815-
* @note This API is EXPERIMENTAL and may be changed or removed completely in a future release
816-
*
817811
*/
818812
public function getScriptContext(array $params = [])
819813
{
@@ -831,9 +825,6 @@ public function getScriptContext(array $params = [])
831825
* @param array $params Associative array of parameters
832826
* @return array
833827
* @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html
834-
*
835-
* @note This API is EXPERIMENTAL and may be changed or removed completely in a future release
836-
*
837828
*/
838829
public function getScriptLanguages(array $params = [])
839830
{
@@ -1080,7 +1071,7 @@ public function mtermvectors(array $params = [])
10801071
* $params['routing'] = (string) Specific routing value
10811072
* $params['ignore_unavailable'] = (boolean) Whether specified concrete indices should be ignored when unavailable (missing or closed)
10821073
* $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)
1083-
* $params['keep_alive'] = (string) Specific the time to live for the point in time
1074+
* $params['keep_alive'] = (string) Specific the time to live for the point in time (Required)
10841075
*
10851076
* @param array $params Associative array of parameters
10861077
* @return array
@@ -1158,9 +1149,6 @@ public function putScript(array $params = [])
11581149
* @param array $params Associative array of parameters
11591150
* @return array
11601151
* @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-rank-eval.html
1161-
*
1162-
* @note This API is EXPERIMENTAL and may be changed or removed completely in a future release
1163-
*
11641152
*/
11651153
public function rankEval(array $params = [])
11661154
{
@@ -1367,17 +1355,18 @@ public function search(array $params = [])
13671355
/**
13681356
* Searches a vector tile for geospatial values. Returns results as a binary Mapbox vector tile.
13691357
*
1370-
* $params['index'] = (list) Comma-separated list of data streams, indices, or aliases to search
1371-
* $params['field'] = (string) Field containing geospatial data to return
1372-
* $params['zoom'] = (int) Zoom level for the vector tile to search
1373-
* $params['x'] = (int) X coordinate for the vector tile to search
1374-
* $params['y'] = (int) Y coordinate for the vector tile to search
1375-
* $params['exact_bounds'] = (boolean) If false, the meta layer's feature is the bounding box of the tile. If true, the meta layer's feature is a bounding box resulting from a `geo_bounds` aggregation. (Default = false)
1376-
* $params['extent'] = (int) Size, in pixels, of a side of the vector tile. (Default = 4096)
1377-
* $params['grid_precision'] = (int) Additional zoom levels available through the aggs layer. Accepts 0-8. (Default = 8)
1378-
* $params['grid_type'] = (enum) Determines the geometry type for features in the aggs layer. (Options = grid,point) (Default = grid)
1379-
* $params['size'] = (int) Maximum number of features to return in the hits layer. Accepts 0-10000. (Default = 10000)
1380-
* $params['body'] = (array) Search request body.
1358+
* $params['index'] = (list) Comma-separated list of data streams, indices, or aliases to search
1359+
* $params['field'] = (string) Field containing geospatial data to return
1360+
* $params['zoom'] = (int) Zoom level for the vector tile to search
1361+
* $params['x'] = (int) X coordinate for the vector tile to search
1362+
* $params['y'] = (int) Y coordinate for the vector tile to search
1363+
* $params['exact_bounds'] = (boolean) If false, the meta layer's feature is the bounding box of the tile. If true, the meta layer's feature is a bounding box resulting from a `geo_bounds` aggregation. (Default = false)
1364+
* $params['extent'] = (int) Size, in pixels, of a side of the vector tile. (Default = 4096)
1365+
* $params['grid_precision'] = (int) Additional zoom levels available through the aggs layer. Accepts 0-8. (Default = 8)
1366+
* $params['grid_type'] = (enum) Determines the geometry type for features in the aggs layer. (Options = grid,point,centroid) (Default = grid)
1367+
* $params['size'] = (int) Maximum number of features to return in the hits layer. Accepts 0-10000. (Default = 10000)
1368+
* $params['track_total_hits'] = (boolean|long) Indicate if the number of documents that match the query should be tracked. A number can also be specified, to accurately track the total hit count up to the number.
1369+
* $params['body'] = (array) Search request body.
13811370
*
13821371
* @param array $params Associative array of parameters
13831372
* @return array
@@ -1481,9 +1470,6 @@ public function searchTemplate(array $params = [])
14811470
* @param array $params Associative array of parameters
14821471
* @return array
14831472
* @see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-terms-enum.html
1484-
*
1485-
* @note This API is BETA and may change in ways that are not backwards compatible
1486-
*
14871473
*/
14881474
public function termsEnum(array $params = [])
14891475
{
@@ -1604,9 +1590,6 @@ public function update(array $params = [])
16041590
* $params['size'] = (number) Deprecated, please use `max_docs` instead
16051591
* $params['max_docs'] = (number) Maximum number of documents to process (default: all documents)
16061592
* $params['sort'] = (list) A comma-separated list of <field>:<direction> pairs
1607-
* $params['_source'] = (list) True or false to return the _source field or not, or a list of fields to return
1608-
* $params['_source_excludes'] = (list) A list of fields to exclude from the returned _source field
1609-
* $params['_source_includes'] = (list) A list of fields to extract and return from the _source field
16101593
* $params['terminate_after'] = (number) The maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early.
16111594
* $params['stats'] = (list) Specific 'tag' of the request for logging and statistical purposes
16121595
* $params['version'] = (boolean) Specify whether to return document version as part of a hit

src/Elasticsearch/Endpoints/AsyncSearch/Delete.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* Elasticsearch API name async_search.delete
2525
*
2626
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
27-
* and Elasticsearch 7.16.0-SNAPSHOT (dfc9a8e7563ed5f24b5210ed21ed92ae182cd0ee)
27+
* and Elasticsearch 7.16.0-SNAPSHOT (77a65eb1c87e755ec61b0c01175566f0c8ba1494)
2828
*/
2929
class Delete extends AbstractEndpoint
3030
{

src/Elasticsearch/Endpoints/AsyncSearch/Get.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* Elasticsearch API name async_search.get
2525
*
2626
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
27-
* and Elasticsearch 7.16.0-SNAPSHOT (dfc9a8e7563ed5f24b5210ed21ed92ae182cd0ee)
27+
* and Elasticsearch 7.16.0-SNAPSHOT (77a65eb1c87e755ec61b0c01175566f0c8ba1494)
2828
*/
2929
class Get extends AbstractEndpoint
3030
{

src/Elasticsearch/Endpoints/AsyncSearch/Status.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* Elasticsearch API name async_search.status
2525
*
2626
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
27-
* and Elasticsearch 7.16.0-SNAPSHOT (dfc9a8e7563ed5f24b5210ed21ed92ae182cd0ee)
27+
* and Elasticsearch 7.16.0-SNAPSHOT (77a65eb1c87e755ec61b0c01175566f0c8ba1494)
2828
*/
2929
class Status extends AbstractEndpoint
3030
{

src/Elasticsearch/Endpoints/AsyncSearch/Submit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* Elasticsearch API name async_search.submit
2424
*
2525
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
26-
* and Elasticsearch 7.16.0-SNAPSHOT (dfc9a8e7563ed5f24b5210ed21ed92ae182cd0ee)
26+
* and Elasticsearch 7.16.0-SNAPSHOT (77a65eb1c87e755ec61b0c01175566f0c8ba1494)
2727
*/
2828
class Submit extends AbstractEndpoint
2929
{

src/Elasticsearch/Endpoints/Autoscaling/DeleteAutoscalingPolicy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* Elasticsearch API name autoscaling.delete_autoscaling_policy
2525
*
2626
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
27-
* and Elasticsearch 7.16.0-SNAPSHOT (dfc9a8e7563ed5f24b5210ed21ed92ae182cd0ee)
27+
* and Elasticsearch 7.16.0-SNAPSHOT (77a65eb1c87e755ec61b0c01175566f0c8ba1494)
2828
*/
2929
class DeleteAutoscalingPolicy extends AbstractEndpoint
3030
{

src/Elasticsearch/Endpoints/Autoscaling/GetAutoscalingCapacity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* Elasticsearch API name autoscaling.get_autoscaling_capacity
2424
*
2525
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
26-
* and Elasticsearch 7.16.0-SNAPSHOT (dfc9a8e7563ed5f24b5210ed21ed92ae182cd0ee)
26+
* and Elasticsearch 7.16.0-SNAPSHOT (77a65eb1c87e755ec61b0c01175566f0c8ba1494)
2727
*/
2828
class GetAutoscalingCapacity extends AbstractEndpoint
2929
{

src/Elasticsearch/Endpoints/Autoscaling/GetAutoscalingPolicy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* Elasticsearch API name autoscaling.get_autoscaling_policy
2525
*
2626
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
27-
* and Elasticsearch 7.16.0-SNAPSHOT (dfc9a8e7563ed5f24b5210ed21ed92ae182cd0ee)
27+
* and Elasticsearch 7.16.0-SNAPSHOT (77a65eb1c87e755ec61b0c01175566f0c8ba1494)
2828
*/
2929
class GetAutoscalingPolicy extends AbstractEndpoint
3030
{

src/Elasticsearch/Endpoints/Autoscaling/PutAutoscalingPolicy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* Elasticsearch API name autoscaling.put_autoscaling_policy
2525
*
2626
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
27-
* and Elasticsearch 7.16.0-SNAPSHOT (dfc9a8e7563ed5f24b5210ed21ed92ae182cd0ee)
27+
* and Elasticsearch 7.16.0-SNAPSHOT (77a65eb1c87e755ec61b0c01175566f0c8ba1494)
2828
*/
2929
class PutAutoscalingPolicy extends AbstractEndpoint
3030
{

src/Elasticsearch/Endpoints/Bulk.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* Elasticsearch API name bulk
2727
*
2828
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
29-
* and Elasticsearch 7.16.0-SNAPSHOT (dfc9a8e7563ed5f24b5210ed21ed92ae182cd0ee)
29+
* and Elasticsearch 7.16.0-SNAPSHOT (77a65eb1c87e755ec61b0c01175566f0c8ba1494)
3030
*/
3131
class Bulk extends AbstractEndpoint
3232
{

0 commit comments

Comments
 (0)