anchor.diff:  --------------------------------------------------
   // TEST[skip: a sample output of a status of a completed async search]
   
  -<1> Indicates that the async search was completed with an error
  +<1> Indicates that the async search was completed with an error.
  +
   
   [[delete-async-search]]
   ==== Delete async search
   
  -You can use the delete async search API to manually delete an async search
  -by ID. If the search is still running, the search request will be cancelled.
  +You can use the delete async search API to manually delete an async search by 
  +ID. If the search is still running, the search request will be cancelled. 
   Otherwise, the saved search results are deleted.
   
   [source,console,id=delete-async-search-date-histogram-example]
  
positive.code: The `wait_for_completion_timeout` parameter can also be provided when calling
  the Get Async Search API, in order to wait for the search to be completed up
  until the provided timeout. Final results will be returned if available before
  the timeout expires, otherwise the currently available results will be
  returned once the timeout expires. By default no timeout is set meaning that
  the currently available results will be returned without any additional wait.
  
  The `keep_alive` parameter specifies how long the async search should be
  available in the cluster. When not specified, the `keep_alive` set with the
  corresponding submit async request will be used. Otherwise, it is possible to
  override such value and extend the validity of the request. When this period
  expires, the search, if still running, is cancelled. If the search is
  completed, its saved results are deleted.
  
  
  [[get-async-search-status]]
  ==== Get async search status
  The get async search status API, without retrieving search results, shows
  only the status of a previously submitted async search request given its `id`.
  If the {es} {security-features} are enabled, the access to the get async
  search status API is restricted to the
  <<built-in-roles, monitoring_user role>>.
  
  [source,console,id=get-async-search-status-example]
  --------------------------------------------------
  
negative.code: [[async-search]]
  === Async search
  
  The async search API let you asynchronously execute a search request, monitor 
  its progress, and retrieve partial results as they become available.
  
  [[submit-async-search]]
  ==== Submit async search API
  
  Executes a search request asynchronously. It accepts the same parameters and 
  request body as the <<search-search,search API>>.
  
  [source,console,id=submit-async-search-date-histogram-example]
  --------------------------------------------------
  