Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Docs] Fix script-fields snippet execution (#30693)
Currently the first snippet in the documentation test in script-fields.asciidoc isn't executed, although it has the CONSOLE annotation. Adding a test setup annotation to it seems to fix the problem.
- Loading branch information
26ab4e8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change misses the reference to
my_field_name
in the subsequent paragraph.26ab4e8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Bouke, thanks for noting. The current state of this doc page is already different from the state in this old PR (see e.g. https://www.elastic.co/guide/en/elasticsearch/reference/7.11/search-fields.html#script-fields)
If you think it still needs an update, we're always happy about suggestions in for of a PR. There's a handy "edit" button right on the documentation page in case you want to directly propose a change.