Added transport method for elasticsearch to use scan and scroll method