Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Commit

Permalink
correct syntax
Browse files Browse the repository at this point in the history
you can render a template by either defining the template inline or
providing the parameters for the stored/indexed mustache script.
see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-template.html#_validating_templates
  • Loading branch information
brwe committed Sep 18, 2015
1 parent 1e6c551 commit 4f0e966
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions public/webpackShims/kb/api_2_0/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,12 +214,10 @@ define(function () {
"_render/template"
],
data_autocomplete_rules: {
"inline": {
__one_of: [
{__scope_link: "_search"},
{__scope_link: "GLOBAL.script"}
]
},
__one_of: [
{"inline": {__scope_link: "_search"}},
{__scope_link: "GLOBAL.script"}
],
"params": {
}
}
Expand Down

0 comments on commit 4f0e966

Please sign in to comment.