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.
Powered by Struct AI
2
3
12mo
Solved
Oct 12, 2022 (12 months ago)
Tom
Tom
08:25 AMHello 👋
Is it possible to search across multiple collections with the same query?
(Ideally getting a single paged result set back in a single request)
Is it possible to search across multiple collections with the same query?
(Ideally getting a single paged result set back in a single request)
John
Tom
Tom
08:29 AMAwesome, thank you John. For some reason
Federated
felt like it meant something else and my eyes must have skipped it 🙂Typesense
Lightning-fast, open source search engine for everyone | Knowledge Base powered by Struct.AI
Indexed 2776 threads (79% resolved)
Similar Threads
Multi-Collection Relevance Query in Typesense
Alexander inquired about querying three collections at once in Typesense. Kishore Nallan suggested federated search for the issue.
3
29mo
Solved
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.
4
21mo
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.
4
6mo
Solved