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
Fanis Tharropoulos
06/23/2025, 12:26 PM
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
Arne Luenser
06/23/2025, 12:28 PM
Thanks!
Merging the pagination and ranking info seems difficult. Do you know if there are existing strategies/algorithms for that?
Arne Luenser
06/23/2025, 12:29 PM
I suppose typesense must do something like that for a
union
search internally?
f
Fanis Tharropoulos
06/23/2025, 10:32 PM
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