Paradox/Client.php
public function search($type, $attribute, $query, $aql, $params = array(), $placeholder = "doc")
    {
        return $this->getToolbox($this->_currentConnection)->getFinder()->search($type, $attribute, $query, $aql, $params, $placeholder);
    }
public function search($type, $attribute, $query, $aql, $params = array(), $placeholder = "doc")
    {
        return $this->getToolbox($this->_currentConnection)->getFinder()->search($type, $attribute, $query, $aql, $params, $placeholder);
    }
Search for documents/vertices/edges using a full-text search on an attribute of the documents with filtering. If no results are found, an empty array is returned.
By default, the placeholder is "doc", so your query could look something like: doc.age > 20 SORT doc.name LIMIT 10
@param  string $type        The collection to search in. For graphs, only "vertex" and "edge" are allowed.
@param  string $attribute   The attribute to search on.
@param  string $query       The full-text query.
@param  string $aql         An AQL fragment that will be inserted after the FILTER keyword.
@param  array  $params      An optional associative array containing parameters to bind to the query.
@param  string $placeholder Set this to something else if you do not wish to use "doc" to refer to documents in your query.
@return array