Be aware that this package is still in heavy developpement. Some breaking change will occure. Thank's for your comprehension.
- Simple override of official ElasticSearch client in order to have profiling enable
- Simple QueryBuilder
- Add a configuration variable
type
&index
to force index globally - For browsing result, you can use JMESPath
$search->add("aggregations/city", new QueryBuilder([
"terms" => [
"field" => "city",
"size" => 0,
],
]));
$search->add("aggregations/article/children/type", "article");
$search->add("query/bool/must[]", [
"terms" => [
"city" => ['london', 'paris'],
],
]);
Cawa is licensed under the GPL v3 License - see the LICENSE
file for details