public function getAllES(string $sortBy = "", string $sortType = "ASC")
    {
        $data = $this->getESItems(10000, 0, $sortBy, $sortType);
        return $data['items'];
    }
public function getAllES(string $sortBy = "", string $sortType = "ASC")
    {
        $data = $this->getESItems(10000, 0, $sortBy, $sortType);
        return $data['items'];
    }
public function getAllES ( string $ sortBy = "" , string $ sortType = "ASC" ) { $ data = $ this -> getESItems ( 10000 , 0 , $ sortBy , $ sortType ) ; return $ data [ 'items' ] ; }
Get all data from elastic index.

@param  string $sortBy
@param  string $sortType
@return mixed
Get all data from elastic index .