fix(core): trash doc in search result (#7785)

This commit is contained in:
EYHN
2024-08-08 08:17:48 +00:00
parent f62d30527b
commit 83244f0201
2 changed files with 5 additions and 5 deletions

View File

@@ -173,7 +173,7 @@ export class DocsIndexer extends Entity {
}
);
for (const block of oldBlocks.nodes) {
docIndexWriter.delete(block.id);
blockIndexWriter.delete(block.id);
}
}
await blockIndexWriter.commit();