i need to regularly do a couple of queries together. some of the filters are the same but i need to return 10 or less result for every of them. can i combine them in single request? like set size paramter for every subquery?
You can do that via the
_msearch API - https://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-multi-search.html
but then same filters will not be reused