Hello,
I have two elasticsearch queries that I would like to combine into one using the _msearch
endpoint. The first one is a normal query to filter by _id
s and the second is a _count
query.
Now I know I am able to combine these using the size: 0
parameter in my request body, but the issue is that it will only return a value up to 10000, but the _count
query will return a larger number.
The above solution is described here: Is there a "Multi Count API" in ES
Is there anyway to get a true count using a multisearch?
Thanks!