Skip to content

Commit

Permalink
[codegen] update to latest spec
Browse files Browse the repository at this point in the history
  • Loading branch information
l-trotta committed Oct 25, 2024
1 parent 334323f commit 8eeb5e8
Show file tree
Hide file tree
Showing 165 changed files with 6,200 additions and 2,057 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
/**
*
* @see <a href=
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.16/sort-search-results.html">Documentation
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.17/sort-search-results.html">Documentation
* on elastic.co</a>
* @see <a href="../doc-files/api-spec.html#_types.SortOptions">API
* specification</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
/**
*
* @see <a href=
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.16/analysis-normalizers.html">Documentation
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.17/analysis-normalizers.html">Documentation
* on elastic.co</a>
* @see <a href="../../doc-files/api-spec.html#_types.analysis.Normalizer">API
* specification</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
* searching with arbitrary geo shapes such as rectangles and polygons.
*
* @see <a href=
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.16/geo-shape.html">Documentation
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.17/geo-shape.html">Documentation
* on elastic.co</a>
* @see <a href=
* "../../doc-files/api-spec.html#_types.mapping.GeoShapeProperty">API
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
* polygons.
*
* @see <a href=
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.16/shape.html">Documentation
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.17/shape.html">Documentation
* on elastic.co</a>
* @see <a href="../../doc-files/api-spec.html#_types.mapping.ShapeProperty">API
* specification</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
* the text.
*
* @see <a href=
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.16/query-dsl-mlt-query.html#_document_input_parameters">Documentation
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.17/query-dsl-mlt-query.html#_document_input_parameters">Documentation
* on elastic.co</a>
* @see <a href="../../doc-files/api-spec.html#_types.query_dsl.Like">API
* specification</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@
/**
*
* @see <a href=
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.16/query-dsl.html">Documentation
* on elastic.co</a>
* @see <a href=
* "../../doc-files/api-spec.html#_types.query_dsl.QueryContainer">API
* specification</a>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
// typedef: async_search.status.Request

/**
* Get async search status Retrieves the status of a previously submitted async
* Get async search status. Retrieve the status of a previously submitted async
* search request given its identifier, without retrieving search results. If
* the Elasticsearch security features are enabled, use of this API is
* restricted to the <code>monitoring_user</code> role.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@
// typedef: async_search.delete.Request

/**
* Deletes an async search by identifier. If the search is still running, the
* search request will be cancelled. Otherwise, the saved search results are
* deleted. If the Elasticsearch security features are enabled, the deletion of
* a specific async search is restricted to: the authenticated user that
* submitted the original search request; users that have the
* <code>cancel_task</code> cluster privilege.
* Delete an async search. If the asynchronous search is still running, it is
* cancelled. Otherwise, the saved search results are deleted. If the
* Elasticsearch security features are enabled, the deletion of a specific async
* search is restricted to: the authenticated user that submitted the original
* search request; users that have the <code>cancel_task</code> cluster
* privilege.
*
* @see <a href="../doc-files/api-spec.html#async_search.delete.Request">API
* specification</a>
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,15 @@ public ElasticsearchAsyncSearchClient withTransportOptions(@Nullable TransportOp
// ----- Endpoint: async_search.delete

/**
* Deletes an async search by identifier. If the search is still running, the
* search request will be cancelled. Otherwise, the saved search results are
* deleted. If the Elasticsearch security features are enabled, the deletion of
* a specific async search is restricted to: the authenticated user that
* submitted the original search request; users that have the
* <code>cancel_task</code> cluster privilege.
* Delete an async search. If the asynchronous search is still running, it is
* cancelled. Otherwise, the saved search results are deleted. If the
* Elasticsearch security features are enabled, the deletion of a specific async
* search is restricted to: the authenticated user that submitted the original
* search request; users that have the <code>cancel_task</code> cluster
* privilege.
*
* @see <a href=
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.16/async-search.html">Documentation
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.17/async-search.html">Documentation
* on elastic.co</a>
*/

Expand All @@ -92,18 +92,18 @@ public DeleteAsyncSearchResponse delete(DeleteAsyncSearchRequest request)
}

/**
* Deletes an async search by identifier. If the search is still running, the
* search request will be cancelled. Otherwise, the saved search results are
* deleted. If the Elasticsearch security features are enabled, the deletion of
* a specific async search is restricted to: the authenticated user that
* submitted the original search request; users that have the
* <code>cancel_task</code> cluster privilege.
* Delete an async search. If the asynchronous search is still running, it is
* cancelled. Otherwise, the saved search results are deleted. If the
* Elasticsearch security features are enabled, the deletion of a specific async
* search is restricted to: the authenticated user that submitted the original
* search request; users that have the <code>cancel_task</code> cluster
* privilege.
*
* @param fn
* a function that initializes a builder to create the
* {@link DeleteAsyncSearchRequest}
* @see <a href=
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.16/async-search.html">Documentation
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.17/async-search.html">Documentation
* on elastic.co</a>
*/

Expand All @@ -116,13 +116,13 @@ public final DeleteAsyncSearchResponse delete(
// ----- Endpoint: async_search.get

/**
* Retrieves the results of a previously submitted async search request given
* its identifier. If the Elasticsearch security features are enabled, access to
* the results of a specific async search is restricted to the user or API key
* that submitted it.
* Get async search results. Retrieve the results of a previously submitted
* asynchronous search request. If the Elasticsearch security features are
* enabled, access to the results of a specific async search is restricted to
* the user or API key that submitted it.
*
* @see <a href=
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.16/async-search.html">Documentation
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.17/async-search.html">Documentation
* on elastic.co</a>
*/

Expand All @@ -137,16 +137,16 @@ public <TDocument> GetAsyncSearchResponse<TDocument> get(GetAsyncSearchRequest r
}

/**
* Retrieves the results of a previously submitted async search request given
* its identifier. If the Elasticsearch security features are enabled, access to
* the results of a specific async search is restricted to the user or API key
* that submitted it.
* Get async search results. Retrieve the results of a previously submitted
* asynchronous search request. If the Elasticsearch security features are
* enabled, access to the results of a specific async search is restricted to
* the user or API key that submitted it.
*
* @param fn
* a function that initializes a builder to create the
* {@link GetAsyncSearchRequest}
* @see <a href=
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.16/async-search.html">Documentation
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.17/async-search.html">Documentation
* on elastic.co</a>
*/

Expand All @@ -157,13 +157,13 @@ public final <TDocument> GetAsyncSearchResponse<TDocument> get(
}

/**
* Retrieves the results of a previously submitted async search request given
* its identifier. If the Elasticsearch security features are enabled, access to
* the results of a specific async search is restricted to the user or API key
* that submitted it.
* Get async search results. Retrieve the results of a previously submitted
* asynchronous search request. If the Elasticsearch security features are
* enabled, access to the results of a specific async search is restricted to
* the user or API key that submitted it.
*
* @see <a href=
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.16/async-search.html">Documentation
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.17/async-search.html">Documentation
* on elastic.co</a>
*/

Expand All @@ -178,16 +178,16 @@ public <TDocument> GetAsyncSearchResponse<TDocument> get(GetAsyncSearchRequest r
}

/**
* Retrieves the results of a previously submitted async search request given
* its identifier. If the Elasticsearch security features are enabled, access to
* the results of a specific async search is restricted to the user or API key
* that submitted it.
* Get async search results. Retrieve the results of a previously submitted
* asynchronous search request. If the Elasticsearch security features are
* enabled, access to the results of a specific async search is restricted to
* the user or API key that submitted it.
*
* @param fn
* a function that initializes a builder to create the
* {@link GetAsyncSearchRequest}
* @see <a href=
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.16/async-search.html">Documentation
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.17/async-search.html">Documentation
* on elastic.co</a>
*/

Expand All @@ -200,13 +200,13 @@ public final <TDocument> GetAsyncSearchResponse<TDocument> get(
// ----- Endpoint: async_search.status

/**
* Get async search status Retrieves the status of a previously submitted async
* Get async search status. Retrieve the status of a previously submitted async
* search request given its identifier, without retrieving search results. If
* the Elasticsearch security features are enabled, use of this API is
* restricted to the <code>monitoring_user</code> role.
*
* @see <a href=
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.16/async-search.html">Documentation
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.17/async-search.html">Documentation
* on elastic.co</a>
*/

Expand All @@ -219,7 +219,7 @@ public AsyncSearchStatusResponse status(AsyncSearchStatusRequest request)
}

/**
* Get async search status Retrieves the status of a previously submitted async
* Get async search status. Retrieve the status of a previously submitted async
* search request given its identifier, without retrieving search results. If
* the Elasticsearch security features are enabled, use of this API is
* restricted to the <code>monitoring_user</code> role.
Expand All @@ -228,7 +228,7 @@ public AsyncSearchStatusResponse status(AsyncSearchStatusRequest request)
* a function that initializes a builder to create the
* {@link AsyncSearchStatusRequest}
* @see <a href=
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.16/async-search.html">Documentation
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.17/async-search.html">Documentation
* on elastic.co</a>
*/

Expand All @@ -241,18 +241,22 @@ public final AsyncSearchStatusResponse status(
// ----- Endpoint: async_search.submit

/**
* Runs a search request asynchronously. When the primary sort of the results is
* an indexed field, shards get sorted based on minimum and maximum value that
* they hold for that field, hence partial results become available following
* the sort criteria that was requested. Warning: Async search does not support
* scroll nor search requests that only include the suggest section. By default,
* Elasticsearch doesn’t allow you to store an async search response larger than
* 10Mb and an attempt to do this results in an error. The maximum allowed size
* for a stored async search response can be set by changing the
* <code>search.max_async_search_response_size</code> cluster level setting.
* Run an async search. When the primary sort of the results is an indexed
* field, shards get sorted based on minimum and maximum value that they hold
* for that field. Partial results become available following the sort criteria
* that was requested.
* <p>
* Warning: Asynchronous search does not support scroll or search requests that
* include only the suggest section.
* <p>
* By default, Elasticsearch does not allow you to store an async search
* response larger than 10Mb and an attempt to do this results in an error. The
* maximum allowed size for a stored async search response can be set by
* changing the <code>search.max_async_search_response_size</code> cluster level
* setting.
*
* @see <a href=
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.16/async-search.html">Documentation
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.17/async-search.html">Documentation
* on elastic.co</a>
*/

Expand All @@ -268,21 +272,25 @@ public <TDocument> SubmitResponse<TDocument> submit(SubmitRequest request, Class
}

/**
* Runs a search request asynchronously. When the primary sort of the results is
* an indexed field, shards get sorted based on minimum and maximum value that
* they hold for that field, hence partial results become available following
* the sort criteria that was requested. Warning: Async search does not support
* scroll nor search requests that only include the suggest section. By default,
* Elasticsearch doesn’t allow you to store an async search response larger than
* 10Mb and an attempt to do this results in an error. The maximum allowed size
* for a stored async search response can be set by changing the
* <code>search.max_async_search_response_size</code> cluster level setting.
* Run an async search. When the primary sort of the results is an indexed
* field, shards get sorted based on minimum and maximum value that they hold
* for that field. Partial results become available following the sort criteria
* that was requested.
* <p>
* Warning: Asynchronous search does not support scroll or search requests that
* include only the suggest section.
* <p>
* By default, Elasticsearch does not allow you to store an async search
* response larger than 10Mb and an attempt to do this results in an error. The
* maximum allowed size for a stored async search response can be set by
* changing the <code>search.max_async_search_response_size</code> cluster level
* setting.
*
* @param fn
* a function that initializes a builder to create the
* {@link SubmitRequest}
* @see <a href=
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.16/async-search.html">Documentation
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.17/async-search.html">Documentation
* on elastic.co</a>
*/

Expand All @@ -293,18 +301,22 @@ public final <TDocument> SubmitResponse<TDocument> submit(
}

/**
* Runs a search request asynchronously. When the primary sort of the results is
* an indexed field, shards get sorted based on minimum and maximum value that
* they hold for that field, hence partial results become available following
* the sort criteria that was requested. Warning: Async search does not support
* scroll nor search requests that only include the suggest section. By default,
* Elasticsearch doesn’t allow you to store an async search response larger than
* 10Mb and an attempt to do this results in an error. The maximum allowed size
* for a stored async search response can be set by changing the
* <code>search.max_async_search_response_size</code> cluster level setting.
* Run an async search. When the primary sort of the results is an indexed
* field, shards get sorted based on minimum and maximum value that they hold
* for that field. Partial results become available following the sort criteria
* that was requested.
* <p>
* Warning: Asynchronous search does not support scroll or search requests that
* include only the suggest section.
* <p>
* By default, Elasticsearch does not allow you to store an async search
* response larger than 10Mb and an attempt to do this results in an error. The
* maximum allowed size for a stored async search response can be set by
* changing the <code>search.max_async_search_response_size</code> cluster level
* setting.
*
* @see <a href=
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.16/async-search.html">Documentation
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.17/async-search.html">Documentation
* on elastic.co</a>
*/

Expand All @@ -320,21 +332,25 @@ public <TDocument> SubmitResponse<TDocument> submit(SubmitRequest request, Type
}

/**
* Runs a search request asynchronously. When the primary sort of the results is
* an indexed field, shards get sorted based on minimum and maximum value that
* they hold for that field, hence partial results become available following
* the sort criteria that was requested. Warning: Async search does not support
* scroll nor search requests that only include the suggest section. By default,
* Elasticsearch doesn’t allow you to store an async search response larger than
* 10Mb and an attempt to do this results in an error. The maximum allowed size
* for a stored async search response can be set by changing the
* <code>search.max_async_search_response_size</code> cluster level setting.
* Run an async search. When the primary sort of the results is an indexed
* field, shards get sorted based on minimum and maximum value that they hold
* for that field. Partial results become available following the sort criteria
* that was requested.
* <p>
* Warning: Asynchronous search does not support scroll or search requests that
* include only the suggest section.
* <p>
* By default, Elasticsearch does not allow you to store an async search
* response larger than 10Mb and an attempt to do this results in an error. The
* maximum allowed size for a stored async search response can be set by
* changing the <code>search.max_async_search_response_size</code> cluster level
* setting.
*
* @param fn
* a function that initializes a builder to create the
* {@link SubmitRequest}
* @see <a href=
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.16/async-search.html">Documentation
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.17/async-search.html">Documentation
* on elastic.co</a>
*/

Expand Down
Loading

0 comments on commit 8eeb5e8

Please sign in to comment.