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 (25 months ago)
Kishore Nallan06:09 AM
Kishore Nallan06:10 AM
Kishore Nallan06:11 AM
Indexed 3015 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 'Cannot use `id` as a query by field' error in Typesense
Alberto was encountering a 'Cannot use `id` as a query by field' error in Typesense. Jason clarified that the 'id' field is used internally and suggested duplicating data in a new field for searching.
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.