Add a basic search clause to the query.
public query ( $value, $field = '*', array $options = [] ) | ||
$value | ||
$field | ||
$options | array | - required : should match (boolean, true by default) - prohibited : should not match (boolean, false by default) - phrase : phrase match (boolean, true by default) - proximity : value of distance between words (unsigned integer) - fuzzy : value of fuzzy(float, 0 ... 1) |