Method | Description | |
---|---|---|
__construct ( array $term = [] ) | Constructs the Term query object. | |
setRawTerm ( array $term ) | Set term can be used instead of addTerm if some more special values for a term have to be set. | |
setTerm ( string $key, string | array $value, float $boost = 1 ) | Adds a term to the term query. |
public __construct ( array $term = [] ) | ||
$term | array | OPTIONAL Calls setTerm with the given $term array |
public setRawTerm ( array $term ) | ||
$term | array | Term array |