Skip to content

Conform to standardized parameters w/o underscores in ES7 #710

Closed
@jsvd

Description

@jsvd

In elastic/elasticsearch#27414 many parameters will no longer be accepted with a prefixed underscore:

+* _parent
+* _retry_on_conflict
+* _routing
+* _version
+* _version_type

This is causing the tests against elasticsearch master to fail for this plugin. The following is an example the body of a request produced with this plugin:

{"index":{"_id":null,"_index":"9515404195","_type":"2536945077","_routing":"test"}}
{"@timestamp":"2017-11-22T22:10:19.060Z","@version":"1","message":"test","type":"2536945077"}

which ES master will respond with an error due to the PR mentioned above:

{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Action/metadata line [1] contains an unknown parameter [_routing]"}],"type":"illegal_argument_exception","reason":"Action/metadata line [1] contains an unknown parameter [_routing]"},"status":400}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions