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

Cherry-pick #9056 to 6.x: Use _doc if ES major version is 7 #9390

Closed
wants to merge 1 commit into from

Commits on Dec 5, 2018

  1. Use _doc if ES major version is 7 (elastic#9056)

    Update the Elasticsearch output and template generator to set the type
    to _doc if Elasticsearch major version is 7.
    
    Use common.Version throughout
    - Use common version instead of strings + parsing over and over again.
    - Having the parsed version available earlier, we can now configure the
      default document type based on version ranges.
    - Use `_doc` if version is >= 7.0.
    
    Introduce unit tests for version aware bulk encoding.
    
    (cherry picked from commit 41f87a4)
    Steffen Siering committed Dec 5, 2018
    Copy the full SHA
    ca70cfa View commit details
    Browse the repository at this point in the history