OpenSearch/client/rest-high-level
Jason Tedor 972bdc09ee Reject empty IDs
When indexing a document via the bulk API where IDs can be explicitly
specified, we currently accept an empty ID. This is problematic because
such a document can not be obtained via the get API. Instead, we should
rejected these requets as accepting them could be a dangerous form of
leniency. Additionally, we already have a way of specifying
auto-generated IDs and that is to not explicitly specify an ID so we do
not need a second way. This commit rejects the individual requests where
ID is specified but empty.

Relates #24118
2017-04-15 10:36:03 -04:00
..
src Reject empty IDs 2017-04-15 10:36:03 -04:00
build.gradle Enforce Content-Type requirement on the rest layer and remove deprecated methods (#23146) 2017-02-17 14:45:41 -05:00