Hi all. Is there a way to do a multi_search/union ...
# community-help
a
Hi all. Is there a way to do a multi_search/union across different nodes which are not part of the same cluster? I guess this would have to be implemented client-side?
f
Yup, has to be done on client-side. With union, it's even trickier, since you have to implement the aggregation yourself. Normal multi-search, you can instantiate multiple clusters and run them concurrently
a
Thanks! Merging the pagination and ranking info seems difficult. Do you know if there are existing strategies/algorithms for that?
I suppose typesense must do something like that for a
union
search internally?
f
This can be seriously expensive on the client, and also, it's kind of not possible, as the response will only have context on the first page results for each of the client instances
a
Thanks @Fanis Tharropoulos!
🙌 1