ScoutEngines\Elasticsearch\ElasticsearchEngine::getTotalCount PHP 메소드

getTotalCount() 공개 메소드

Get the total count from a raw result returned by the engine.
public getTotalCount ( mixed $results ) : integer
$results mixed
리턴 integer
    public function getTotalCount($results)
    {
        return $results['hits']['total'];
    }