public function __construct($field, $name = null, $boost = QueryInterface::DEFAULT_BOOST_VALUE) { $this->name = $name; $this->boost = $boost; $this->field = $field; }