You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @chzphoenix! I'm here to help you with any bugs, questions, or contributions you have for this project. Let's work together to solve this issue!
I found a similar issue that might be related to your problem. The issue titled 数据集的段无法禁用 was closed and involved problems with enabling and disabling segments. The suggested solution was to handle errors when deleting Weaviate vectors by capturing 404 errors and allowing the deletion to proceed normally [1].
Regarding your issue, it seems that when a segment is re-enabled after being disabled, it should be added back to the vector database. However, if this is not happening, it might be due to a problem in the re-indexing process. Unfortunately, I couldn't find specific information on how Dify handles re-indexing of segments when they are re-enabled. It might be worth checking if there are any logs or error messages that could provide more insight into why the segment is not being added back to the vector database. Additionally, ensure that the segment is in a "completed" status and that the necessary permissions are in place when performing these actions via the API [2].
Self Checks
Dify version
lastest
Cloud or Self Hosted
Self Hosted (Docker), Self Hosted (Source)
Steps to reproduce
1、disable segment by api
2、enable it by api(content not change)
✔️ Expected Behavior
segment can be retrievaled
❌ Actual Behavior
segment can not be retrievaled
because it is not added in vector databset
The text was updated successfully, but these errors were encountered: