-
Notifications
You must be signed in to change notification settings - Fork 277
Open
Description
Java API client version
9.1.5
Java version
21
Elasticsearch Version
9.1.5
Problem description
This appears to be a duplicate issue that has been reported several times.
If it's an unintended error and If there's no one to work on this issue for now,
it okay for me to work on it?
Code
final BulkResponse response = client.bulk(br -> br.operations(
bo -> bo.index(io -> io.withJson(jsonInputStream).index("test").id("1"))
));
Error
Class class co.elastic.clients.elasticsearch.core.bulk.IndexOperation cannot be read from JSON
java.lang.IllegalArgumentException: Class class co.elastic.clients.elasticsearch.core.bulk.IndexOperation cannot be read from JSON
at co.elastic.clients.util.WithJsonObjectBuilderBase.withJson(WithJsonObjectBuilderBase.java:46)
at co.elastic.clients.json.WithJson.withJson(WithJson.java:43)
Metadata
Metadata
Assignees
Labels
No labels