Msearch/mpercolate Is there a limit on queries?


(Kiran Patil) #1

Hi,

msearch and mpercolate allow querying multiple documents in one API call. Is there a limit on the number of queries which can passed to these APIs?

And has any one noticed any performance issues on using these APIs?

Thanks! K


(Nik Everett) #2

I took a quick look at msearch and didn't see a limit on the number of requests. You might want to try it - its probably not worth using larger requests than you see providing any value with your data. I suspect there is a practical limit you'd bump into based on thread pools.


(Kiran Patil) #3

Thanks Nik!
Can you also confirm if the behaviour is same for mpercolate API as well?


(system) #4