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)
Mubashirullah
06:08 AMKishore Nallan
06:09 AMMubashirullah
06:09 AMKishore Nallan
06:10 AMMubashirullah
06:11 AMKishore Nallan
06:11 AMMubashirullah
06:11 AMTypesense
Indexed 3015 threads (79% resolved)
Similar Threads
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.