Resolving ID Type Warnings and Ensuring Unique Documents
TLDR Mubashirullah asked about providing their own ID, which led to a discussion with Kishore Nallan about warnings, schemas, and preventing document repetition.
Dec 22, 2021 (23 months ago)
Kishore Nallan06:09 AM
Kishore Nallan06:10 AM
Kishore Nallan06:11 AM
Indexed 2779 threads (79% resolved)
Adding ID Field to Index and Schema Retrospectively
Zach asked about adding an ID field in the schema without altering existing documents. Jason suggested creating a new field called `id_search` for this purpose.
Resolving TS Issue on Id Field and Search Results
Mubashirullah had issues getting the 'id' field from their schema, which Kishore Nallan explained was due to it being a special identifier in TS 0.22. They recommended creating a 'searchable_id' field.
Adding and Updating Collections in Typesense Server
sonu asked about methods to add and update collections in a Typesense server. Jason advised that documents can be added individually or in bulk, and updates can be batched using the import function, even with a small React app with a MySQL database.