Adding configurable elasticsearch batch options