code: public function wildcard($val, $field=false) {
          $this->wildcard = ($field)
              ? array($field => $val)
              : $val;
          return $this;
      }
docs: Add a wildcard to this query
  
  @return \ElasticSearch\DSL\Query
  @param $val
  @param bool|string $field