#community-help

Aggregating Results from Different Typesense Clusters

TLDR MAFD asked if Typesense can aggregate results from various clusters. Kishore Nallan replied that it must be done client-side or through a service. Jason suggested scaling up a single cluster.

Powered by Struct AI
5
13mo
Solved
Join the chat
Sep 27, 2022 (13 months ago)
MAFD
Photo of md5-a7605b093448e06efb0a1c150153cad6
MAFD
04:13 AM
Hi Everyone! Does anyone know if Typesense can aggregate results from different clusters?
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
04:27 AM
We don't have a way to do that.
MAFD
Photo of md5-a7605b093448e06efb0a1c150153cad6
MAFD
04:31 AM
Thanks Kishore. Any guidance or recommendation on how to get over this hump?
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
05:24 AM
You will have to do it on the client side or have a service that issues the search requests individually and aggregate it and return to the client.
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
01:15 PM
Out of curiosity, May I know your case for this?

Any reason you can’t scale up a single cluster vertically and use multiple collections? Then you’ll also be able to use the multi_search endpoint