PHP Class Elastica\Query\Wildcard

Inheritance: extends AbstractQuery
显示文件 Open project: ruflin/elastica Class Usage Examples

Public Methods

Method Description
__construct ( string $key = '', string $value = null, float $boost = 1 ) Construct wildcard query.
setValue ( string $key, string $value, float $boost = 1 ) Sets the query expression for a key with its boost value.

Method Details

__construct() public method

Construct wildcard query.
public __construct ( string $key = '', string $value = null, float $boost = 1 )
$key string OPTIONAL Wildcard key
$value string OPTIONAL Wildcard value
$boost float OPTIONAL Boost value (default = 1)

setValue() public method

Sets the query expression for a key with its boost value.
public setValue ( string $key, string $value, float $boost = 1 )
$key string
$value string
$boost float