ai_xiaopei
2 days ago ec01248346a93a9ca13f86970998e239c62132e4
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
}