yii\sphinx\MatchBuilder::buildIgnoreMatch PHP Method

buildIgnoreMatch() public method

Create ignored MATCH expressions
public buildIgnoreMatch ( string $operator, array $operands, &$params ) : string
$operator string the operator which is used for Create Match expressions
$operands array the Match expressions
return string the MATCH expression
    public function buildIgnoreMatch($operator, $operands, &$params)
    {
        if (!isset($operands[0], $operands[1])) {
            throw new InvalidParamException("Operator '{$operator}' requires two operands.");
        }
        list($column, $value) = $operands;
        return $this->buildMatchColumn($column, true) . ' ' . $this->buildMatchValue($value, $params);
    }