git.cweiske.de
/
phinde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dda0b5e
)
change default query operator to AND
author
Christian Weiske
<cweiske@cweiske.de>
Thu, 4 Feb 2016 16:12:14 +0000
(17:12 +0100)
committer
Christian Weiske
<cweiske@cweiske.de>
Thu, 4 Feb 2016 16:12:14 +0000
(17:12 +0100)
src/phinde/Elasticsearch.php
patch
|
blob
|
history
diff --git
a/src/phinde/Elasticsearch.php
b/src/phinde/Elasticsearch.php
index 5ad46e74030e9d8c2c27cc05083a547fe493837d..316f3da8684a79fcf24875224a12d22b9381b163 100644
(file)
--- a/
src/phinde/Elasticsearch.php
+++ b/
src/phinde/Elasticsearch.php
@@
-87,6
+87,7
@@
class Elasticsearch
array(
'query_string' => array(
'default_field' => '_all',
array(
'query_string' => array(
'default_field' => '_all',
+ 'default_operator' => 'AND',
'query' => $query
)
),
'query' => $query
)
),