I want to got the same amount of documents from different indices within one query
two indices Company / Person, both have a field called "name"
And I want to search all name match "smart", but I want got the same amount from Company and Person
I want get the result like this [ company1, company2, ..., Company5] AND [Person1, Person2, ..., Person5], as you see, 10Results with 5 Companys and 5 Persons
Besides, I'm using es5.3
So Anyone have some ideas?