Skip to content

Commit 0bcf0f4

Browse files
committed
template-query.asciidoc: Allow for a deprecation warning in doc tests
1 parent 9ac3441 commit 0bcf0f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/reference/query-dsl/template-query.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ PUT /_search/template/my_template
9898
}
9999
------------------------------------------
100100
// CONSOLE
101+
// TEST[warning:The stored search template API is deprecated. Use stored scripts instead.]
101102

102103
and refer to it in the `template` query with the `id` parameter:
103104

0 commit comments

Comments
 (0)