elasticsearch
elasticsearch copied to clipboard
appending into the query object
Hi..
is there any way to append raw query into the query object body ?? i need to add should clause which have a bool and must_not clause in it .. i need to append it into the query body
I had a similar issue where I'd do $query->body($data) multiple times only to find out that the library replaces the body when calling this function. I ended up using array_merge()