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] Fix script_field example script #27618

Closed
wants to merge 1 commit into from

Conversation

honzakral
Copy link
Contributor

Supplied example doesn't even compile

@honzakral honzakral added >bug >docs General docs changes labels Dec 1, 2017
Copy link
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's concerning that this does not fail the docs tests. @nik9000 Any idea why it doesn't?

@colings86 colings86 added the :Search/Search Search-related issues that do not fall into other categories label Apr 24, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search-aggs

@cbuescher
Copy link
Member

This PR can be closes, the documentation has been fixed on master by fb5b2df, which has been backported to all the 6.x branches. To check the question by @rjernst, I ran the docs:check for the "old" version and it doesn't fail indeed. When moving the test setup that happens in the second snippet in this file up, the docs test fails. I think I will open a PR to do this and discuss the why/how there.

@cbuescher cbuescher closed this May 17, 2018
cbuescher pushed a commit to cbuescher/elasticsearch that referenced this pull request May 17, 2018
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.

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

Successfully merging this pull request may close these issues.

5 participants