public function getQueries()
    {
        $array = [];
        foreach ($this->getKeywords() as $keyword) {
            $value = $keyword->getData();
            if ($this->getCountableAttributes()) {
                $value['countableAttributes'] = $this->getCountableAttributes();
            }
            $array[] = $value;
        }

        return $array;
    }
public function getQueries()
    {
        $array = [];
        foreach ($this->getKeywords() as $keyword) {
            $value = $keyword->getData();
            if ($this->getCountableAttributes()) {
                $value['countableAttributes'] = $this->getCountableAttributes();
            }
            $array[] = $value;
        }

        return $array;
    }
public function getQueries ( ) { $ array = [ ] ; foreach ( $ this -> getKeywords ( ) as $ keyword ) { $ value = $ keyword -> getData ( ) ; if ( $ this -> getCountableAttributes ( ) ) { $ value [ 'countableAttributes' ] = $ this -> getCountableAttributes ( ) ; } $ array [ ] = $ value ; } return $ array ; }
SphinxSearch Queries Array.

<code>

//Search single query sintaxe:
array(
array(
'key'    => 'search_key',     // The key to search on
'values' => array(            // The values to match with
'value_one',
'value_two',
),
)
);

//Search Multi query sintaxe:
array(
array(
'key'    => 'search_key',     // The key to search on
'values' => array(            // The values to match with
'value_one',
'value_two',
),
),
array(
'key'    => 'another_key',    // The key to search on
'values' => array(            // The values to match with
'some_value',
),
countableAttributes => array(),  // For Faceted search
),
...
);

</code>
SphinxSearch Queries Array .