Query on Updating Document's ID Field
TLDR Mehdi inquired about updating a document's id
field. Kishore Nallan explained it's a special field and couldn't be updated, and suggested tracking this proposal through a GitHub issue.
Powered by Struct AI
4
25mo
Solved
Aug 17, 2021 (25 months ago)
Mehdi
Mehdi
04:02 PMHello,
Is there a way to update a document's id field?
Is there a way to update a document's id field?
Kishore Nallan
Kishore Nallan
04:04 PMNo, the
id
is a special field since it is used to locate the document and all internal storage references use it. So we don't have a way to update it.04:05
Kishore Nallan
04:05 PMWe might be able to support it though. It's an interesting proposal to consider. Can you please create a github issue so that we can track?
Mehdi
Mehdi
04:33 PMSure
Typesense
Lightning-fast, open source search engine for everyone | Knowledge Base powered by Struct.AI
Indexed 2764 threads (79% resolved)
Similar Threads
Updating Field Values in Programming
Sandro inquired about updating a field with another field's value. Jason confirmed it was currently impossible and suggested reporting the issue on GitHub.
3
3w
Change in Handling `id` in Schema from Version v0.22.0
Ignacio asked about a recent change. Jason clarified that from version v0.22.0, 'id' is ignored in the schema, suggesting to use 'filter_by' instead.

3
21mo
Solved
Implementing ID Field Search in Schema
Jason asked John for a simpler way to implement search by ID, who confirmed the current method is still the best approach.

4
8mo
Solved