which causes an error to be returned from Elasticsearch:
[400 Bad Request] {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Malformed action/metadata line [1], expected START_OBJECT or END_OBJECT but found [VALUE_NULL]"}],"type":"illegal_argument_exception","reason":"Malformed action/metadata line [1], expected START_OBJECT or END_OBJECT but found [VALUE_NULL]"},"status":400}
Also renamed EsSortOrderDecending -> EsSortOrderDescending and removed some duplicate assertions.
Without
omitempty
, theindex
field is populated during a bulk create:which causes an error to be returned from Elasticsearch:
Also renamed
EsSortOrderDecending
->EsSortOrderDescending
and removed some duplicate assertions.