I have the use case for adding the id to the json doc instead of the URL -
basically the URL has to be static (so I cannot add the id each time).
Other than using the Bulk creation option, is this possible via the REST
API?
Thanks for your response, I knew the bulk request was an option, however is
there any performance impact using that method to send one off updates? I
just don't want to call the bulk request for single item additions/updates
if it is going to adversely affect performance. Any thoughts on this? My
gut tells me it should not, but it is a question I have to ask.
Thanks!
On Wednesday, January 15, 2014 1:47:31 AM UTC-6, Jörg Prante wrote:
Bulk request is in ES the same as single request, it is just concatenated
so a bulk can be sent from a client over the network in a single step,
saving a lot of roundtrips.
So if you send a single request, for ES it does not matter if you choose
single operation or bulk operation.
Excellent, thank you for the clarification. For some reason I was thinking
that the bulk operation might put a different type of load on the service
just to spin up that operation.
Again, thanks for your time!
On Wednesday, January 15, 2014 8:06:32 AM UTC-6, Jörg Prante wrote:
Bulk request is in ES the same as single request, it is just concatenated
so a bulk can be sent from a client over the network in a single step,
saving a lot of roundtrips.
So if you send a single request, for ES it does not matter if you choose
single operation or bulk operation.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.