Skip to content

Commit 8746423

Browse files
committed
[DOCS] Fix deprecation notification (#40981)
1 parent 5988f51 commit 8746423

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/java-api/delete-by-query.asciidoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
[[delete-by-query]]
22
== Delete By Query API
33

4-
deprecated[1.5.3, "Delete by Query will be removed in 2.0: it is problematic since it silently forces a refresh which can quickly cause OutOfMemoryError during concurrent indexing, and can also cause primary and replica to become inconsistent. Instead, use the <<search,scroll/scan API>> to find all matching ids and then issue a bulk request to delete them.]
4+
deprecated[1.5.3]
5+
6+
The delete by query API will be removed in 2.0: it is problematic since it silently forces a refresh which can quickly cause OutOfMemoryError during concurrent indexing, and can also cause primary and replica to become inconsistent. Instead, use the <<search,scroll/scan API>> to find all matching ids and then issue a bulk request to delete them.
57

68
The delete by query API allows one to delete documents from one or more
79
indices and one or more types based on a <<query-dsl-queries,query>>. Here

0 commit comments

Comments
 (0)