Defining a Database Collection
TLDR Zachary asked if all fields need to be specified when defining a collection. Kishore Nallan clarified that only fields want to be indexed need to be specified.
Jul 28, 2022 (17 months ago)
Kishore Nallan03:49 AM
Indexed 3011 threads (79% resolved)
Understanding Collection Schema in Database Queries
em1nos needed clarification on the function of schemas in database collections, Jason confirmed that schema is for searching, and filtering purposes, and discussed the usage of include/exclude_fields parameters.
Updating Collection Schema and Querying Unspecified Fields in Typesense
Stefan asked about updating a collection schema. Kishore Nallan stated it's not currently possible but suggested automatic schema detection in version 0.20. Rishabh sought a workaround and Jason suggested creating a new collection with a new schema and re-indexing the data. Rishabh also asked about defining custom field IDs which Jason confirmed is not possible with Typesense.
Specific Collection Backfill and Schema Config in Firebase Extension
Loic asked Jason about backfilling specific collections with the Firebase Extension and configuring collection schemas. The latter explained current limitations and gave advices about handling attributes for search/filtering, storage, and return.