Got it working now. Re read the documentation and found that we have to send
List> for bulk index and Map for
single index. For single index automatically the request was getting
converted to Map.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-elasticsearch-bulk-
operation. The
> typeconverter to BulkRequest is returning null now due to which it is
> throwing NPE. What should be the request in Bulk indexing using
> elasticsearch?
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-elasticsearch-bulk-api-not-working-tp5767177.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
ot;,
"xyz":"test",
}
Now I changed the about request to a List and used BULK operation. The
typeconverter to BulkRequest is returning null now due to which it is
throwing NPE. What should be the request in Bulk indexing using
elasticsearch?
--
View this message in cont