Querying Documents from Two Collections in Typesense
TLDR Kian asked if it's possible to bind search results from two collections in Typesense. Kishore Nallan explained that this feature is currently not available but is being considered.
Dec 14, 2022 (12 months ago)
Is there a way to bind the search result/documents of one collection in Typesense to other documents in a different collection? example can be --->
Let’s say I have two collections one for
PO-boxesand the other for
packageexist in one
boxand package documents contain the
id of the po-box documentwhich they belonged to.
Is there a way for me to search for title of those
packagesand then at the same time in return get
the associates po-box documentsback with one single query?
Kishore Nallan11:14 AM
Indexed 3011 threads (79% resolved)
Using Typesense to Search Specific Document IDs
Tshepo inquired about performing specific document ID searches in Typesense. Jason advised using the `filter_by=id:=[1,2,3,etc]` function or directly querying Typesense.
Query on Filtering Documents between Two Collections
Daniel asked about filtering documents across two collections. Kishore Nallan clarified that feature is currently not available but directed the user to a specific open feature request.
Multi-Collection Relevance Query in Typesense
Alexander inquired about querying three collections at once in Typesense. Kishore Nallan suggested federated search for the issue.