Метод | Описание | |
---|---|---|
__construct ( string | array $values, string $field, string $name = null, integer $boost = QueryInterface::DEFAULT_BOOST_VALUE ) | The term query produce an Elasticsearch terms query. | |
getType ( ) | {@inheritDoc} | |
getValues ( ) : array |
public __construct ( string | array $values, string $field, string $name = null, integer $boost = QueryInterface::DEFAULT_BOOST_VALUE ) | ||
$values | string | array | Search values. String are exploded using the comma as separator. |
$field | string | Search field. |
$name | string | Name of the query. |
$boost | integer | Query boost. |