public function terms($field, array $terms, array $attributes = []) { $query = new TermsQuery($field, $terms, $attributes); $this->append($query); return $this; }