Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions src/Endpoints/AsyncSearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
class AsyncSearch extends AbstractEndpoint
{
/**
* Deletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.
* Delete an async search
*
* @link https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html
* @link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-async-search-submit
* @group serverless
*
* @param array{
Expand Down Expand Up @@ -68,9 +68,9 @@ public function delete(?array $params = null)


/**
* Retrieves the results of a previously submitted async search request given its ID.
* Get async search results
*
* @link https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html
* @link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-async-search-submit
* @group serverless
*
* @param array{
Expand Down Expand Up @@ -110,9 +110,9 @@ public function get(?array $params = null)


/**
* Retrieves the status of a previously submitted async search request given its ID.
* Get the async search status
*
* @link https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html
* @link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-async-search-submit
* @group serverless
*
* @param array{
Expand Down Expand Up @@ -150,9 +150,9 @@ public function status(?array $params = null)


/**
* Executes a search request asynchronously.
* Run an async search
*
* @link https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html
* @link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-async-search-submit
* @group serverless
*
* @param array{
Expand All @@ -174,7 +174,7 @@ public function status(?array $params = null)
* ignore_unavailable?: bool, // Whether specified concrete indices should be ignored when unavailable (missing or closed)
* ignore_throttled?: bool, // Whether specified concrete, expanded or aliased indices should be ignored when throttled
* allow_no_indices?: bool, // Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)
* expand_wildcards?: string, // Whether to expand wildcard expression to concrete indices that are open, closed or both.
* expand_wildcards?: string|array<string>, // Whether to expand wildcard expression to concrete indices that are open, closed or both.
* lenient?: bool, // Specify whether format-based query failures (such as providing text to a numeric field) should be ignored
* preference?: string, // Specify the node or shard the operation should be performed on (default: random)
* rest_total_hits_as_int?: bool, // Indicates whether hits.total should be rendered as an integer or an object in the rest search response
Expand Down
16 changes: 8 additions & 8 deletions src/Endpoints/Autoscaling.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
class Autoscaling extends AbstractEndpoint
{
/**
* Deletes an autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.
* Delete an autoscaling policy
*
* @link https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-delete-autoscaling-policy.html
* @link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-autoscaling-delete-autoscaling-policy
*
* @param array{
* name: string, // (REQUIRED) the name of the autoscaling policy
Expand Down Expand Up @@ -69,9 +69,9 @@ public function deleteAutoscalingPolicy(?array $params = null)


/**
* Gets the current autoscaling capacity based on the configured autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.
* Get the autoscaling capacity
*
* @link https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-get-autoscaling-capacity.html
* @link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-autoscaling-get-autoscaling-capacity
*
* @param array{
* master_timeout?: int|string, // Timeout for processing on master node
Expand Down Expand Up @@ -105,9 +105,9 @@ public function getAutoscalingCapacity(?array $params = null)


/**
* Retrieves an autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.
* Get an autoscaling policy
*
* @link https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-get-autoscaling-policy.html
* @link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-autoscaling-get-autoscaling-capacity
*
* @param array{
* name: string, // (REQUIRED) the name of the autoscaling policy
Expand Down Expand Up @@ -144,9 +144,9 @@ public function getAutoscalingPolicy(?array $params = null)


/**
* Creates a new autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.
* Create or update an autoscaling policy
*
* @link https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-put-autoscaling-policy.html
* @link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-autoscaling-put-autoscaling-policy
*
* @param array{
* name: string, // (REQUIRED) the name of the autoscaling policy
Expand Down
Loading