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.
1
Jul 28, 2022 (17 months ago)
Zachary
03:45 AMKishore Nallan
03:49 AMZachary
03:49 AM1
Typesense
Indexed 3011 threads (79% resolved)
Similar Threads
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.