Searching Across Multiple Collections with the Same Query
TLDR Tom was curious about executing a single query across multiple collections. John provided a solution through a link to the multi-search function of typesense.org.
Oct 12, 2022 (14 months ago)
Is it possible to search across multiple collections with the same query?
(Ideally getting a single paged result set back in a single request)
Federatedfelt like it meant something else and my eyes must have skipped it 🙂
Indexed 3015 threads (79% resolved)
Multi-Collection Relevance Query in Typesense
Alexander inquired about querying three collections at once in Typesense. Kishore Nallan suggested federated search for the issue.
Multi-Search Query Across Different Collections
Ahmad inquires about performing a multisearch call across different databases. Kishore Nallan provides an example but Edson adds that it's an issue when field names differ per collection.
Consolidating Multiple Collection Queries in Typesense
Cooper asked about consolidating queries from multiple collections, while Jason suggested client-side aggregation. Cooper ended up using nested objects to achieve the desired result.