change default query operator to AND
authorChristian Weiske <cweiske@cweiske.de>
Thu, 4 Feb 2016 16:12:14 +0000 (17:12 +0100)
committerChristian Weiske <cweiske@cweiske.de>
Thu, 4 Feb 2016 16:12:14 +0000 (17:12 +0100)
src/phinde/Elasticsearch.php

index 5ad46e7..316f3da 100644 (file)
@@ -87,6 +87,7 @@ class Elasticsearch
                         array(
                             'query_string' => array(
                                 'default_field' => '_all',
+                                'default_operator' => 'AND',
                                 'query' => $query
                             )
                         ),