Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ask_data_ai_admin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linyangyang
ask_data_ai_admin
Commits
1e8636b5
Commit
1e8636b5
authored
Aug 04, 2025
by
林洋洋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改删除BUG
parent
57bb0efd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
KnowledgeDocumentController.java
.../java/com/ask/controller/KnowledgeDocumentController.java
+1
-1
No files found.
ask-data-ai/ask-data-ai-biz/src/main/java/com/ask/controller/KnowledgeDocumentController.java
View file @
1e8636b5
...
...
@@ -158,7 +158,7 @@ public class KnowledgeDocumentController {
// new Filter.Value(id)
// );
askVectorStoreService
.
remove
(
Wrappers
.
lambdaQuery
(
AskVectorStore
.
class
)
.
apply
(
"
metadata->>'documentId'
= {0}"
,
id
));
// 删除向量存储中对应的文档切片
.
apply
(
"
(metadata->>'documentId')::bigint
= {0}"
,
id
));
// 删除向量存储中对应的文档切片
log
.
info
(
"成功删除文档及其向量数据,文档ID: {}"
,
id
);
}
catch
(
Exception
e
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment