Bulk Request Java API


(Aarthini) #1

I m uploading 80,000 records in Elasticsearch through Bulk Request .
It uploaded in 30 secs.
My doubt is Whether request is send for every record or for whole 80k records single request is send ?


(David Pilato) #2

If you are using the bulk API then it's done in one single request.
If you are using the bulk processor class (which I recommend) then the bulk is sent every x documents or every x seconds (depending on how you configure it).


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.