ac04a8efcb
- Updated the searchChunks method to calculate and include the total chunk count for each knowledge ID in the results. - Introduced logic to fetch chunk counts based on unique knowledge IDs, improving the efficiency of data retrieval. - Enhanced error handling for chunk count fetching, ensuring robust logging in case of failures.
5 lines
180 B
SQL
5 lines
180 B
SQL
DO $$ BEGIN RAISE NOTICE '[Migration 000026] Dropping chunks query indexes'; END $$;
|
|
|
|
DROP INDEX IF EXISTS idx_chunks_kb_tenant;
|
|
DROP INDEX IF EXISTS idx_chunks_knowledge_enabled;
|