-
-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
Any hint how to fix this? The document is obviously already indexed.
34 try:
35 client.collections["content"].documents[doc_id].update(doc)
36 logger.info(
37 f"Document updated in index: {path} "
38 f"with state {doc['review_state']}"
39 )
40 except Exception as e:
41 import pdb; pdb.set_trace()
42 -> logger.error(f"Failed to update workflow of document {path}: {e}")
(Pdb) e
ObjectNotFound(404, 'Could not find a document with id: f3b5e2b3d95242869fefc782e02b6cbb')
(Pdb) client.collections["content"].documents.__dict__
{'api_call': <typesense.api_call.ApiCall object at 0xffff8362cec0>, 'collection_name': 'content', 'documents': {'f3b5e2b3d95242869fefc782e02b6cbb': <typesense.document.Document object at 0xffff835de960>}}```
**Versions**
typesense: 29.0
typesense-python: 1.3.0
Metadata
Metadata
Assignees
Labels
No labels