Skip to content

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

fix: Rebuild embeddings search index to improve query performance

wizardchen5ae999ecd66c
diff --git a/migrations/versioned/000001_agent.up.sql b/migrations/versioned/000001_agent.up.sql
index f5b9e7366..4cbea2ef3 100644
--- a/migrations/versioned/000001_agent.up.sql
+++ b/migrations/versioned/000001_agent.up.sql
@@ -454,6 +454,8 @@ CREATE INDEX IF NOT EXISTS idx_embeddings_knowledge_base_id
COMMIT;
+REINDEX INDEX embeddings_search_idx;
+
BEGIN;
-- Add status field to track chunk processing state