Discussing Support for Nested Objects in Typesense
TLDR Martin expressed the need for support for nested objects in Typesense. Kishore Nallan mentioned the possibility of flattening objects before indexing and restoring them later. An issue has been created on GitHub to track this.
Sep 20, 2021 (28 months ago)
Kishore Nallan06:49 AM
Kishore Nallan06:50 AM
Kishore Nallan07:36 AM
Kishore Nallan07:38 AM
Kishore Nallan07:56 AM
Kishore Nallan09:45 AM
creatorswhich is a nested object directly or query as
creators.nameetc. which refer to primitive types.
creators.name. This particular query is very common. So queries would be for primitive types. An edge case would be queries for
creators.familyNamewhich Elasticsearch addresses with either nested fields (as you want givenName and familyName to belong to the same creator) or a combined field combining both values. I usually use the latter (this is for an index with more than 20 million records).
Kishore Nallan11:01 AM
Yes, this is one tricky thing to handle when you flatten fields: you don't want to end up matching the first name of one person with last name of another.
Sep 29, 2021 (28 months ago)
Kishore Nallan03:05 PM
Sep 30, 2021 (28 months ago)
Kishore Nallan04:42 PM
Indexed 3015 threads (79% resolved)
Handling Nested Objects in Typesense
Darren queried about storing arrays of objects in Typesense. Kishore Nallan advised that Typesense doesn't support nesting but shared alternative reindexing methods. They added improved nesting support is planned for the future.
Nested Objects and Arrays in Typesense
Robert seeks advice on managing nested objects in Typesense. Kishore Nallan informs of upcoming support for nested objects and provides a current workaround. Robert indicates interest in tracking this feature. Kishore Nallan provides a link to follow the issue.
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.
Nested Objects Issue in Firebase & Typesense Integration
Shaun encountered issues with nested objects being flattened in Typesense. Jason found the root issue and provided a solution involving updating the Firebase extension to 1.0.3.
Nested Field Search with Typesense
Justin asks if searching within object arrays is supported, Jason says it isn't yet. Users discuss Elasticsearch's nested object type as a potential solution, and Justin confirms that field names with spaces work in the current Typesense version.