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

Change internal document type to push "_doc" instead of "doc" #10533

Closed
wants to merge 1 commit into from

Conversation

robbavey
Copy link
Member

elastic/elasticsearch#39888 removed the "doc"
type from internal indices, causing breakage in the x-pack integration
tests. This commit changes the type to "_doc" for consistency.

This commit fixes x-pack integration tests that were broken by elastic/elasticsearch#39888 removing the "doc"
 type, and using `_doc` in templates.
@elasticsearch-bot elasticsearch-bot self-assigned this Mar 11, 2019
@yaauie yaauie assigned yaauie and unassigned elasticsearch-bot Mar 11, 2019
@yaauie
Copy link
Member

yaauie commented Mar 11, 2019

LGTM.

At first I was concerned that we're only having to change it in a test-helper function, but an audit of the specs that use this reveals that they're all integration-style tests that verify the effect of loading said pipelines from ES, so we must not be specifying the type on retrieval.

@robbavey
Copy link
Member Author

@yaauie Thanks for the quick LGTM - yes, I believe this is the related change

@elasticsearch-bot
Copy link

Rob Bavey merged this into the following branches!

Branch Commits
master 5d41ab6

@elasticsearch-bot
Copy link

Rob Bavey merged this into the following branches!

Branch Commits
7.x ecba50c

elasticsearch-bot pushed a commit that referenced this pull request Mar 11, 2019
This commit fixes x-pack integration tests that were broken by elastic/elasticsearch#39888 removing the "doc"
 type, and using `_doc` in templates.

Fixes #10533
@elasticsearch-bot
Copy link

Rob Bavey merged this into the following branches!

Branch Commits
7.0 5c1a097

elasticsearch-bot pushed a commit that referenced this pull request Mar 11, 2019
This commit fixes x-pack integration tests that were broken by elastic/elasticsearch#39888 removing the "doc"
 type, and using `_doc` in templates.

Fixes #10533
@jakelandis
Copy link
Contributor

I believe this is the related change

It was, sorry for the noise, and thanks for the fix Rob !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants