Joining Collections in TypeSense
TLDR Ahmed inquired about joining collections in TypeSense, Jesse informed this feature is in beta and will be in the upcoming release.
Powered by Struct AI
2
4mo
Jul 28, 2023 (4 months ago)
Ahmed
Ahmed
10:23 PMCan we join these collections? search posts collection and returns the customers data along with the post? its a bit different than the demo
Posts collection
Customers collection
Posts collection
{
"name": "Posts",
"fields": [
{"name": "post_id", "type": "string"},
{"name": "post_text", "type": "string"},
{"name": "customer_id", "type": "string", "reference": "Customers.customer_id"}
]
}
Customers collection
{
"name": "Customers",
"fields": [
{"name": "customer_id", "type": "string"},
{"name": "customer_name", "type": "string"}
]
}
Jul 30, 2023 (4 months ago)
Jesse
Jesse
11:09 PMAt the moment there is a beta version of this, but it looks to be implemented in the next release of TypeSense - https://github.com/typesense/typesense/issues/229#issuecomment-1645573572
Typesense
Lightning-fast, open source search engine for everyone | Knowledge Base powered by Struct.AI
Indexed 3015 threads (79% resolved)
Similar Threads
Using Joins Feature in v0.26 with typesense-go
James inquired about using the joins feature in v0.26 with typesense-go. Kishore Nallan explained that it's not yet supported and suggested using curl or Python client for collection creation.
4
2mo
Typesense Information Retrieval and Features
Ahmed sought to retrieve all data from typesense. Kishore Nallan shared a build and instructions. TJ queried about cascading delete, a feature Kishore Nallan agreed to consider.
7
4mo
Fixing "bad json" error in Typesense 0.24
Adam experiences "bad json" error when creating collections in Typesense 0.24. Jason identifies a typo in the docs causing the error and helps troubleshoot additional errors.
23
9mo