This message was deleted.
# community-help
s
This message was deleted.
j
per_page
works at the level of each individual search inside a multi-search request
You want to think of a multi_search request as just a batch of regular searches, with each search running independent of all the other searches, but it’s just that they are all in a single HTTP request
j
Okay got it. So that means, if I have 3 collections and my
per_page
request is 1, in the best case I will get 3 records. Because the
per_page
is applied individually to each collection and the results are combined and came back to me. Is that a correct way of rephrasing what you said?
j
Yes, except for this part: “the results are combined”. The results for each search are returned in separate array elements, and are not combined into one linear result set
j
yes, got it.
Thanks!