|
36 | 36 | use Elasticsearch\Namespaces\EnrichNamespace;
|
37 | 37 | use Elasticsearch\Namespaces\EqlNamespace;
|
38 | 38 | use Elasticsearch\Namespaces\FeaturesNamespace;
|
| 39 | +use Elasticsearch\Namespaces\FleetNamespace; |
39 | 40 | use Elasticsearch\Namespaces\GraphNamespace;
|
40 | 41 | use Elasticsearch\Namespaces\IlmNamespace;
|
41 | 42 | use Elasticsearch\Namespaces\IndicesNamespace;
|
|
64 | 65 | * Class Client
|
65 | 66 | *
|
66 | 67 | * NOTE: this file is autogenerated using util/GenerateEndpoints.php
|
67 |
| - * and Elasticsearch 7.13.0-SNAPSHOT (ebb67a590736f79b58d59f9d8ccbcc4b5068c88d) |
| 68 | + * and Elasticsearch 7.14.0-SNAPSHOT (83c4295551bb0cdaba7439a12c751e16741f595f) |
68 | 69 | */
|
69 | 70 | class Client
|
70 | 71 | {
|
71 |
| - const VERSION = '7.13.0-SNAPSHOT'; |
| 72 | + const VERSION = '7.14.0-SNAPSHOT'; |
72 | 73 |
|
73 | 74 | /**
|
74 | 75 | * @var Transport
|
@@ -140,6 +141,11 @@ class Client
|
140 | 141 | */
|
141 | 142 | protected $features;
|
142 | 143 |
|
| 144 | + /** |
| 145 | + * @var FleetNamespace |
| 146 | + */ |
| 147 | + protected $fleet; |
| 148 | + |
143 | 149 | /**
|
144 | 150 | * @var GraphNamespace
|
145 | 151 | */
|
@@ -277,6 +283,7 @@ public function __construct(Transport $transport, callable $endpoint, array $reg
|
277 | 283 | $this->enrich = new EnrichNamespace($transport, $endpoint);
|
278 | 284 | $this->eql = new EqlNamespace($transport, $endpoint);
|
279 | 285 | $this->features = new FeaturesNamespace($transport, $endpoint);
|
| 286 | + $this->fleet = new FleetNamespace($transport, $endpoint); |
280 | 287 | $this->graph = new GraphNamespace($transport, $endpoint);
|
281 | 288 | $this->ilm = new IlmNamespace($transport, $endpoint);
|
282 | 289 | $this->indices = new IndicesNamespace($transport, $endpoint);
|
@@ -924,7 +931,7 @@ public function mget(array $params = [])
|
924 | 931 | /**
|
925 | 932 | * $params['index'] = (list) A comma-separated list of index names to use as default
|
926 | 933 | * $params['type'] = DEPRECATED (list) A comma-separated list of document types to use as default
|
927 |
| - * $params['search_type'] = (enum) Search operation type (Options = query_then_fetch,query_and_fetch,dfs_query_then_fetch,dfs_query_and_fetch) |
| 934 | + * $params['search_type'] = (enum) Search operation type (Options = query_then_fetch,dfs_query_then_fetch) |
928 | 935 | * $params['max_concurrent_searches'] = (number) Controls the maximum number of concurrent searches the multi search api will execute
|
929 | 936 | * $params['typed_keys'] = (boolean) Specify whether aggregation and suggester names should be prefixed by their respective types in the response
|
930 | 937 | * $params['pre_filter_shard_size'] = (number) A threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the search request expands to exceeds the threshold. This filter roundtrip can limit the number of shards significantly if for instance a shard can not match any documents based on its rewrite method ie. if date filters are mandatory to match but the shard bounds and the query are disjoint.
|
@@ -955,7 +962,7 @@ public function msearch(array $params = [])
|
955 | 962 | /**
|
956 | 963 | * $params['index'] = (list) A comma-separated list of index names to use as default
|
957 | 964 | * $params['type'] = DEPRECATED (list) A comma-separated list of document types to use as default
|
958 |
| - * $params['search_type'] = (enum) Search operation type (Options = query_then_fetch,query_and_fetch,dfs_query_then_fetch,dfs_query_and_fetch) |
| 965 | + * $params['search_type'] = (enum) Search operation type (Options = query_then_fetch,dfs_query_then_fetch) |
959 | 966 | * $params['typed_keys'] = (boolean) Specify whether aggregation and suggester names should be prefixed by their respective types in the response
|
960 | 967 | * $params['max_concurrent_searches'] = (number) Controls the maximum number of concurrent searches the multi search api will execute
|
961 | 968 | * $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)
|
@@ -1323,7 +1330,7 @@ public function searchShards(array $params = [])
|
1323 | 1330 | * $params['preference'] = (string) Specify the node or shard the operation should be performed on (default: random)
|
1324 | 1331 | * $params['routing'] = (list) A comma-separated list of specific routing values
|
1325 | 1332 | * $params['scroll'] = (time) Specify how long a consistent view of the index should be maintained for scrolled search
|
1326 |
| - * $params['search_type'] = (enum) Search operation type (Options = query_then_fetch,query_and_fetch,dfs_query_then_fetch,dfs_query_and_fetch) |
| 1333 | + * $params['search_type'] = (enum) Search operation type (Options = query_then_fetch,dfs_query_then_fetch) |
1327 | 1334 | * $params['explain'] = (boolean) Specify whether to return detailed information about score computation as part of a hit
|
1328 | 1335 | * $params['profile'] = (boolean) Specify whether to profile the query execution
|
1329 | 1336 | * $params['typed_keys'] = (boolean) Specify whether aggregation and suggester names should be prefixed by their respective types in the response
|
@@ -1545,6 +1552,10 @@ public function features(): FeaturesNamespace
|
1545 | 1552 | {
|
1546 | 1553 | return $this->features;
|
1547 | 1554 | }
|
| 1555 | + public function fleet(): FleetNamespace |
| 1556 | + { |
| 1557 | + return $this->fleet; |
| 1558 | + } |
1548 | 1559 | public function graph(): GraphNamespace
|
1549 | 1560 | {
|
1550 | 1561 | return $this->graph;
|
|
0 commit comments