瀏覽代碼

[DOCS] mention automatic cancellation in search docs (#46706)

Add a small note around automatic search cancellation which was missed as part of #43332

Relates to #43332
Luca Cavanna 6 年之前
父節點
當前提交
126f1b5841
共有 1 個文件被更改,包括 4 次插入7 次删除
  1. 4 7
      docs/reference/search.asciidoc

+ 4 - 7
docs/reference/search.asciidoc

@@ -126,13 +126,10 @@ Setting this value to `-1` resets the global search timeout to no timeout.
 === Search Cancellation
 === Search Cancellation
 
 
 Searches can be cancelled using standard <<task-cancellation,task cancellation>>
 Searches can be cancelled using standard <<task-cancellation,task cancellation>>
-mechanism. By default, a running search only checks if it is cancelled or
-not on segment boundaries, therefore the cancellation can be delayed by large
-segments. The search cancellation responsiveness can be improved by setting
-the dynamic cluster-level setting `search.low_level_cancellation` to `true`.
-However, it comes with an additional overhead of more frequent cancellation
-checks that can be noticeable on large fast running search queries. Changing this
-setting only affects the searches that start after the change is made.
+mechanism and are also automatically cancelled when the http connection used to
+perform the request is closed by the client. It is fundamental that the http
+client sending requests closes connections whenever requests time out or are
+aborted.
 
 
 [float]
 [float]
 [[search-concurrency-and-parallelism]]
 [[search-concurrency-and-parallelism]]