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

Update ingest API for ES 5.0 mapping changes #6553

Merged
merged 1 commit into from
Mar 18, 2016

Conversation

Bargs
Copy link
Contributor

@Bargs Bargs commented Mar 16, 2016

We're eventually going to need to make these changes everywhere to support breaking changes in 5.0 (#6411) but the full fix is on hold till we can handle reindexing. In the meantime, testing Add Data has become impossible with fresh builds of ES, so this PR updates just the ingest API to account for those breaking changes. It should be safe to make these changes now since they don't touch the .kibana index or users' existing indices.

What's updated?

  • Changed index: 'not_analyed' to index: true
  • Updated string mappings in the default ingest template to text/keyword
  • Added an API test to ensure indices will be successfully created from the index template the ingest API creates

@rashidkpc
Copy link
Contributor

These are pretty minimal changes, as long as they pass tests, which they do, this LGTM

Bargs pushed a commit that referenced this pull request Mar 18, 2016
Update ingest API for ES 5.0 mapping changes
@Bargs Bargs merged commit a54f708 into elastic:master Mar 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants