Skip to content

Commit

Permalink
Fix previously hidden doc error
Browse files Browse the repository at this point in the history
  • Loading branch information
romseygeek committed Oct 30, 2023
1 parent 405ab75 commit 751382b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ PUT _scripts/my-search-template
"lang": "mustache",
"source": {
"query":{
"multi-match":{
"multi_match":{
"query": "{{query_string}}",
"fields": """[{{#text_fields}}{{user_name}},{{/text_fields}}]"""
}
Expand Down Expand Up @@ -834,7 +834,7 @@ When rendered, template outputs:
{
"template_output": {
"query": {
"multi-match": {
"multi_match": {
"query": "My string",
"fields": "[John,kimchy,]"
}
Expand All @@ -855,7 +855,7 @@ PUT _scripts/my-search-template
"lang": "mustache",
"source": {
"query":{
"multi-match":{
"multi_match":{
"query": "{{query_string}}",
"fields": """[{{#text_fields}}{{user_name}}{{^last}},{{/last}}{{/text_fields}}]"""
}
Expand Down Expand Up @@ -895,7 +895,7 @@ When rendered the template outputs:
{
"template_output": {
"query": {
"multi-match": {
"multi_match": {
"query": "My string",
"fields": "[John,kimchy]"
}
Expand Down

0 comments on commit 751382b

Please sign in to comment.