text = $text; } public function buildQuery(QueryContext $context) { return array( 'multi_match' => array( 'type' => 'phrase', 'fields' => $context->getLocalizedFields(), 'query' => $this->text, // 'operator' => 'and' ) ); } public function getTermNodes() { return array(); } public function __toString() { return sprintf('', $this->text); } }