Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS] Search template docs contain outdated reference to file scripts #50089

Closed
jrodewig opened this issue Dec 11, 2019 · 2 comments · Fixed by #50437
Closed

[DOCS] Search template docs contain outdated reference to file scripts #50089

jrodewig opened this issue Dec 11, 2019 · 2 comments · Fixed by #50437
Assignees
Labels
>docs General docs changes :Search/Search Search-related issues that do not fall into other categories

Comments

@jrodewig
Copy link
Contributor

The Conditional clauses section of the Search template docs include the following note:

... this template is not valid JSON because it includes the section markers like {{#line_no}}. For this reason, the template should either be stored in a file (see Store a search template) or, when used via the REST API, should be written as a string:

However, file scripts were removed with 6.0: https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_scripting_changes.html#_file_scripts_removed

@jrodewig jrodewig added >docs General docs changes :Search/Search Search-related issues that do not fall into other categories labels Dec 11, 2019
@jrodewig jrodewig self-assigned this Dec 11, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-docs (>docs)

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search (:Search/Search)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>docs General docs changes :Search/Search Search-related issues that do not fall into other categories
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants