aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2016-02-04 17:12:14 +0100
committerChristian Weiske <cweiske@cweiske.de>2016-02-04 17:12:14 +0100
commit38d24c7d23ffc7bb9ec30e99f1c68698a939d15f (patch)
treee9ad29affcbbc8ba4ff0a707013a3ab8dbad11b2 /src
parentdda0b5ec6258b94fdd6cdec81eccba3f2b9513a0 (diff)
downloadphinde-38d24c7d23ffc7bb9ec30e99f1c68698a939d15f.tar.gz
phinde-38d24c7d23ffc7bb9ec30e99f1c68698a939d15f.zip
change default query operator to AND
Diffstat (limited to 'src')
-rw-r--r--src/phinde/Elasticsearch.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/phinde/Elasticsearch.php b/src/phinde/Elasticsearch.php
index 5ad46e7..316f3da 100644
--- a/src/phinde/Elasticsearch.php
+++ b/src/phinde/Elasticsearch.php
@@ -87,6 +87,7 @@ class Elasticsearch
array(
'query_string' => array(
'default_field' => '_all',
+ 'default_operator' => 'AND',
'query' => $query
)
),