Skip to content
This repository was archived by the owner on Aug 16, 2022. It is now read-only.

Commit 21d5058

Browse files
committed
Missing raw tag
1 parent 2564c56 commit 21d5058

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/elasticsearch/search-template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ You can use the `toJson` tag to convert parameters to their JSON representation:
339339
```json
340340
GET _search/template
341341
{
342-
"source": "{\"query\":{\"bool\":{\"must\":[{\"terms\": {\"text_entries\": {{#toJson}}text_entries{{/toJson}} }}] }}}",
342+
"source": "{\"query\":{\"bool\":{\"must\":[{\"terms\": {\"text_entries\": {% raw %}{{#toJson}}text_entries{{/toJson}}{% endraw %} }}] }}}",
343343
"params": {
344344
"text_entries": [
345345
{ "term": { "text_entry" : "love" } },

0 commit comments

Comments
 (0)