AlgoliaSearch\Index::doBcBrowse PHP Method

doBcBrowse() private method

Browse all index content.
private doBcBrowse ( integer $page, integer $hitsPerPage = 1000 ) : mixed
$page integer Pagination parameter used to select the page to retrieve. Page is zero-based and defaults to 0. Thus, to retrieve the 10th page you need to set page=9
$hitsPerPage integer : Pagination parameter used to select the number of hits per page. Defaults to 1000.
return mixed
    private function doBcBrowse($page = 0, $hitsPerPage = 1000)
    {
        return $this->client->request($this->context, 'GET', '/1/indexes/' . $this->urlIndexName . '/browse', array('page' => $page, 'hitsPerPage' => $hitsPerPage), null, $this->context->readHostsArray, $this->context->connectTimeout, $this->context->readTimeout);
    }