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