code: public function query(array $options=array()) {
          if (!($this->query instanceof Query))
              $this->query = new Query($options);
          return $this->query;
      }
docs: Add array clause, can only be one
  
  @return \ElasticSearch\DSL\Query
  @param array $options