src/SearchAbstract.php
public function search($index, array $filters = null,
        array $queries = null, array $fieldWeights = null,
        $limit = 20, $offset = 0
    ) {
        $result = $this->query($index, $filters, $queries,
            $fieldWeights, $limit, $offset);

        if (!isset($result['matches'])) {
            return [];
        }

        return $result['matches'];
    }
public function search($index, array $filters = null,
        array $queries = null, array $fieldWeights = null,
        $limit = 20, $offset = 0
    ) {
        $result = $this->query($index, $filters, $queries,
            $fieldWeights, $limit, $offset);

        if (!isset($result['matches'])) {
            return [];
        }

        return $result['matches'];
    }
public function search ( $ index , array $ filters = null , array $ queries = null , array $ fieldWeights = null , $ limit = 20 , $ offset = 0 ) { $ result = $ this -> query ( $ index , $ filters , $ queries , $ fieldWeights , $ limit , $ offset ) ; if ( ! isset ( $ result [ 'matches' ] ) ) { return [ ] ; } return $ result [ 'matches' ] ; }
Facade para Single query, obtendo apenas os resultados (matches).

@param string $index
Facade para Single query obtendo apenas os resultados ( matches ) .