public function scroll(
        $scrollId,
        $scrollDuration = '5m'
    ) {
        $results = $this->getClient()->scroll(['scroll_id' => $scrollId, 'scroll' => $scrollDuration]);

        return $results;
    }
public function scroll(
        $scrollId,
        $scrollDuration = '5m'
    ) {
        $results = $this->getClient()->scroll(['scroll_id' => $scrollId, 'scroll' => $scrollDuration]);

        return $results;
    }
public function scroll ( $ scrollId , $ scrollDuration = '5m' ) { $ results = $ this -> getClient ( ) -> scroll ( [ 'scroll_id' => $ scrollId , 'scroll' => $ scrollDuration ] ) ; return $ results ; }
Fetches next set of results.

@param string $scrollId
@param string $scrollDuration

@return mixed

@throws \Exception
Fetches next set of results .