Skip to content

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

Closed
robbavey wants to merge 1 commit intoelastic:masterfrom
robbavey:xpack_build_3_11
Closed

Change internal document type to push "_doc" instead of "doc"#10533
robbavey wants to merge 1 commit intoelastic:masterfrom
robbavey:xpack_build_3_11

Conversation

@robbavey
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member Author

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

@elasticsearch-bot
Copy link
Copy Markdown

Rob Bavey merged this into the following branches!

Branch Commits
master 5d41ab6

@elasticsearch-bot
Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown
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