I am attempting to do multisearch with elastic search and it is causing
me problems. I generate my queries using php and also use php curl to
interface with my server which is running elastic search 0.19.4. There are
a couple of issues I am encountering:
- the first is, I am trying to do a count with a multi search query, so my
generated url eventually looks like this:
with this setup, i expect that when I run my multi search query, it will
return to me a responses array with just the count. But my the behavior is
inconsistent. it returns my entire document for one of my queries and the
normal results for my other queries.
- multisearch does not return responses to all my queries. For example, I
sent six queries seperated by a newline to multisearch and I get back in my
reponses array three responses with inconsistent results.
has anybody successfully used multisearch with php?
BTW..this works just fine with individual searches..its only when i try to
do multisearch that i run into problems.