ai_xiaopei
2026-08-21 3e129de1b9ea21cdb7dfff232c3dd32979729b68
feat(fts): FTS 表仅收录 file 节点
1 files modified
1 ■■■■ changed files
internal/index/fts.go 1 ●●●● patch | view | raw | blame | history
internal/index/fts.go
@@ -32,6 +32,7 @@
    _, err := s.db.Exec(`
        INSERT INTO nodes_fts(rowid, title, content, tags, entities)
        SELECT id, title, content_fts, tags, entities FROM nodes
        WHERE node_type = 'file'
    `)
    return err
}