This message was deleted.
# community-help
s
This message was deleted.
j
The langchain integration works with documents and generates its own IDs on every import... I don't think the langchain framework supports updates to existing documents in the store, does it?
s
I can delete, there is no option to update. Do you suggest any workaround for this?
j
I haven't used Langchain too much to be able to recommend a workaround. May be try asking in their community?
If there is a common interface for updating existing docs, then we could support the same interface in the Typesense plugin as well
s
okay but leaving langchain part, will typesense handle this scenario of indexing the same document multiple times?
j
Yes, Typesense supports updates to existing docs at the API level if you use the API directly
If you set an
id
field in each document explicitly, that will be used for duplicate detection
s
does this apply for vector search as well?
j
Yup