原英文版地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/clear-scroll-api.html, 原文档版权归 www.elastic.co 所有
本地英文版地址: ../en/clear-scroll-api.html
本地英文版地址: ../en/clear-scroll-api.html
重要: 此版本不会发布额外的bug修复或文档更新。最新信息请参考 当前版本文档。
Clear scroll APIedit
Clears the search context and results for a scrolling search.
DELETE /_search/scroll { "scroll_id" : "DXF1ZXJ5QW5kRmV0Y2gBAAAAAAAAAD4WYm9laVYtZndUQlNsdDcwakFMNjU1QQ==" }
Path parametersedit
-
<scroll_id>
-
[7.0.0] Deprecated in 7.0.0. (Optional, string) Comma-separated list of scroll IDs to clear. To clear all scroll IDs, use
_all
.Scroll IDs can be long. We recommend only specifying scroll IDs using the
scroll_id
request body parameter.
Query parametersedit
-
scroll_id
-
[7.0.0] Deprecated in 7.0.0. (Optional, string) Comma-separated list of scroll IDs to clear. To clear all scroll IDs, use
_all
.Scroll IDs can be long. We recommend only specifying scroll IDs using the
scroll_id
request body parameter.
Request bodyedit
Response bodyedit
-
succeeded
-
(boolean)
If
true
, the request succeeded. This does not indicate whether any scrolling search requests were cleared. -
num_freed
- (integer) Number of scrolling search requests cleared.