left->buildQuery($context); $right = $this->right->buildQuery($context); return [ 'bool' => [ 'should' => array($left, $right) ] ]; } }