Enabling Nested Fields in Airbyte's Typesense Destination
TLDR Jamshid wanted to enable nested fields in Typesense. Jason suggested a code modification, which Jamshid corrected and successfully implemented.
Powered by Struct AI


3
3mo
Solved
Jun 20, 2023 (3 months ago)
Jamshid
Jamshid
09:57 PM[Airbyte to Typesense] I want to set the
enable_nested_fields
to true, in here: https://github.com/airbytehq/airbyte/blob/master/airbyte-integrations/connectors/destination-typesense/destination_typesense/destination.py and use a custom connector to serve my needs. Collection is created on line 39. Any suggestions on how I can pass that parameter? Thanks!Jun 21, 2023 (3 months ago)
Jason
Jason
06:16 AMLine 39 would be:
client.collections.create({"name": steam_name, "fields": [{"name": ".*", "type": "auto"}], "enable_nested_fields":true})

Jamshid
Jamshid
09:51 PM Jason it should be actually this way:
Now it works!
client.collections.create({"name": steam_name, "fields": [{"name": ".*", "type": "auto"}], "enable_nested_fields":True})
Now it works!

Typesense
Lightning-fast, open source search engine for everyone | Knowledge Base powered by Struct.AI
Indexed 2764 threads (79% resolved)
Similar Threads
Configuring Typesense Extension for Nested Fields in Firebase Collection
David had issues indexing nested fields using the Typesense extension. Jason offered advice on specifying schemas and prioritizing specific fields, but there remained unresolved challenges with the schema.

14
4mo
Updating Collection Schema in Typesense v0.24.0
Yoshi wanted to update collection schema to enable nested fields. Jason confirmed creating a new collection is the only way.

4
4mo
Solved
Resolving Typesense Cloud and Firebase Timestamp Error
Eoin faced an issue with Firebase timestamp when setting up Typesense Cloud. Jason suggested converting timestamps to Unix and sync them as int64 fields in Typesense.
18
21mo
Solved