Classes/Eel/ElasticSearchQueryResult.php
protected function initialize(): void
    {
        if ($this->result === null) {
            $queryBuilder = $this->elasticSearchQuery->getQueryBuilder();
            $this->result = $queryBuilder->fetch();
            $this->nodes = $this->result['nodes'];
            $this->count = $queryBuilder->getTotalItems();
        }
    }
protected function initialize(): void
    {
        if ($this->result === null) {
            $queryBuilder = $this->elasticSearchQuery->getQueryBuilder();
            $this->result = $queryBuilder->fetch();
            $this->nodes = $this->result['nodes'];
            $this->count = $queryBuilder->getTotalItems();
        }
    }
protected function initialize ( ) : void { if ( $ this -> result === null ) { $ queryBuilder = $ this -> elasticSearchQuery -> getQueryBuilder ( ) ; $ this -> result = $ queryBuilder -> fetch ( ) ; $ this -> nodes = $ this -> result [ 'nodes' ] ; $ this -> count = $ queryBuilder -> getTotalItems ( ) ; } }
Initialize the results by really executing the query

@return void
Initialize the results by really executing the query