ai_xiaopei
2026-08-21 3e129de1b9ea21cdb7dfff232c3dd32979729b68
internal/index/fts.go
@@ -21,9 +21,7 @@
         title,
         content,
         tags,
         entities,
         content='nodes',
         content_rowid='id'
         entities
      )
   `)
   return err
@@ -34,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
}