Performance of painless scripts: inline vs stored

Is it more efficient to create stored painless scripts than put them inline? Specifically I am interested in this for aggregations.

Thanks,
Dennis

There shouldn't be a difference in performance. Just try and use the same script over and over again so it can be cached.

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