| 12345678910111213141516171819202122 | [role="xpack"][testenv="basic"][[async-search-intro]]== Long-running searches{es} generally allows you to quickly search across big amounts of data. There aresituations where a search executes on many many shards, possibly against<<frozen-indices,frozen indices>> and spanning multiple<<modules-remote-clusters,remote clusters>>, for whichresults are not expected to be returned in milliseconds. When you need toexecute long-running searches, synchronouslywaiting for its results to be returned is not ideal. Instead, Async search letsyou submit a search request that gets executed _asynchronously_,monitor the progress of the request, and retrieve results at a later stage.You can also retrieve partial results as they become available butbefore the search has completed.You can submit an async search request using the <<submit-async-search,submitasync search>> API. The <<get-async-search,get async search>> API allows you tomonitor the progress of an async search request and retrieve its results. Anongoing async search can be deleted through the <<delete-async-search,deleteasync search>> API.
 |