I'm using _bulk request and updating documents by doc. However, some complex cases need to apply script for updating.
However, the performance in case script is very bad. It affects search side and index side latency.
Is there any bottleneck between update by script and update by doc?