Skip to content

Support for elasticsearch 7.x #24

Answered by wallneradam
bogdanlupu asked this question in Q&A
Discussion options

You must be logged in to vote

Hmm, which version of the library you use? I've tested with the newest 7.17.12, which has this:

@query_params(
        "include_type_name",
        "master_timeout",
        "timeout",
        "wait_for_active_shards",
        request_mimetypes=["application/json"],
        response_mimetypes=["application/json"],
        body_params=["aliases", "mappings", "settings"],
)

So it is supported with both mappings and body.

You don't need to use the same version of the library as the ES itself. If you think it is a problem, I can create a try catch around it to make the older syntax also possible. Or pull request is welcome. But I think you should just update to the latest 7.x version of the lib.

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
3 replies
@bogdanlupu
Comment options

@wallneradam
Comment options

@bogdanlupu
Comment options

Comment options

You must be logged in to vote
4 replies
@bogdanlupu
Comment options

@wallneradam
Comment options

Answer selected by bogdanlupu
@bogdanlupu
Comment options

@wallneradam
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants