>> In a loop I build up the 30'000 objects, then call a function (...) >> to update the 30'000 docs. > > Do you know that: > 1. you can create an object and give it a value with one single POST or PUT, > 2. you can send multiple objects (maybe not 30k but a lot more than 1) with > bulk requests?
Last but not least, do you really have to do that every time you use your application? Or is it a one-time administration operation? Regards, Aurélien
