更新搜索引擎

This commit is contained in:
2025-08-11 23:10:36 +08:00
parent c617bba52b
commit 61d74561ef
10 changed files with 298 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
package search
// 程序退出时关闭索引(可选)
func CloseIndex() error {
if globalIndex != nil {
return globalIndex.Close()
}
return nil
}