sphinx\MatchBuilder buildProximityMatch()

buildProximityMatch() public method Create PROXIMITY expressions public string buildProximityMatch ( $operator, $operands, &$params )$operator string The operator which is used for Create Match expressions $operands array The Match expressions $params return string The MATCH expression

sphinx\MatchBuilder buildMultipleMatch()

buildMultipleMatch() public method Create MAYBE, SENTENCE or PARAGRAPH expressions. public string buildMultipleMatch ( $operator, $operands, &$params )$operator string The operator which is used for Create Match expressions $operands array The Match expressions $params return string The MATCH expression

sphinx\MatchBuilder buildMatchColumn()

buildMatchColumn() protected method Created column as string for expression of MATCH protected string buildMatchColumn ( $column, $ignored = false )$column string Column specification. $ignored boolean Whether column should be specified as 'ignored'. return string The column statement.

sphinx\MatchBuilder buildMatchValue()

buildMatchValue() protected method Create placeholder for expression of MATCH protected string buildMatchValue ( $value, &$params )$value string|array|yii\db\Expression $params array The expression parameters to be populated return string The MATCH expression

sphinx\MatchBuilder buildMatch()

buildMatch() public method Create MATCH expression. public string buildMatch ( $match, &$params )$match string|array MATCH specification. $params array The expression parameters to be populated return string The MATCH expression

sphinx\MatchBuilder buildHashMatch()

buildHashMatch() public method Creates a MATCH based on column-value pairs. public string buildHashMatch ( $match, &$params )$match array The match condition $params array The expression parameters to be populated return string The MATCH expression

sphinx\MatchBuilder buildAndMatch()

buildAndMatch() public method Connects two or more MATCH expressions with the AND or OR operator public string buildAndMatch ( $operator, $operands, &$params )$operator string The operator which is used for connecting the given operands $operands array The Match expressions to connect $params array The expression parameters to be populated return string The MATCH expression

sphinx\MatchBuilder buildIgnoreMatch()

buildIgnoreMatch() public method Create ignored MATCH expressions public string buildIgnoreMatch ( $operator, $operands, &$params )$operator string The operator which is used for Create Match expressions $operands array The Match expressions $params return string The MATCH expression

sphinx\MatchBuilder build()

build() public method Generates the MATCH expression from given yii\sphinx\MatchExpression object. public string build ( $match )$match yii\sphinx\MatchExpression The yii\sphinx\MatchExpression object from which the MATCH expression will be generated. return string Generated MATCH expression.

sphinx\MatchBuilder $db

$db public property The Sphinx connection. public yii\sphinx\Connection $db = null