コード例 #1
0
ファイル: Query.php プロジェクト: GrandLTU/ElasticsearchDSL
 /**
  * @param BuilderInterface $query    Query.
  * @param string           $boolType Possible boolType values:
  *                                   - must
  *                                   - must_not
  *                                   - should.
  */
 public function addQuery(BuilderInterface $query, $boolType = 'must')
 {
     $this->queries->add($query, $boolType);
 }