Skip to content

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

@jrodewig

Description

@jrodewig

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

Metadata

Metadata

Assignees

Labels

:Search/SearchSearch-related issues that do not fall into other categories>docsGeneral docs changes

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions