You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#[doc = "Builder for the [Async Search Delete API](https://www.elastic.co/guide/en/elasticsearch/reference/7.8/async-search.html)\n\nDeletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted."]
#[doc = "Builder for the [Async Search Get API](https://www.elastic.co/guide/en/elasticsearch/reference/7.8/async-search.html)\n\nRetrieves the results of a previously submitted async search request given its ID."]
#[doc = "Builder for the [Async Search Submit API](https://www.elastic.co/guide/en/elasticsearch/reference/7.8/async-search.html)\n\nExecutes a search request asynchronously."]
332
333
pubstructAsyncSearchSubmit<'a,'b,B>{
333
-
client:&'aElasticsearch,
334
+
transport:&'aTransport,
334
335
parts:AsyncSearchSubmitParts<'b>,
335
336
_source:Option<&'b[&'bstr]>,
336
337
_source_excludes:Option<&'b[&'bstr]>,
@@ -386,10 +387,10 @@ where
386
387
B:Body,
387
388
{
388
389
#[doc = "Creates a new instance of [AsyncSearchSubmit] with the specified API parts"]
#[doc = "Creates a new instance of [AsyncSearch]"]
927
-
pubfnnew(client:&'aElasticsearch) -> Self{
928
-
Self{ client }
928
+
pubfnnew(transport:&'aTransport) -> Self{
929
+
Self{ transport }
930
+
}
931
+
pubfntransport(&self) -> &Transport{
932
+
self.transport
929
933
}
930
934
#[doc = "[Async Search Delete API](https://www.elastic.co/guide/en/elasticsearch/reference/7.8/async-search.html)\n\nDeletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted."]
#[doc = "[Async Search Get API](https://www.elastic.co/guide/en/elasticsearch/reference/7.8/async-search.html)\n\nRetrieves the results of a previously submitted async search request given its ID."]
0 commit comments