[fix] Create a complete index

This commit is contained in:
lanceyq
2026-03-30 16:07:15 +08:00
parent 8b44b2cd61
commit e15af5a2ba
2 changed files with 2 additions and 14 deletions

View File

@@ -151,9 +151,9 @@ async def write(
# Step 3: Save all data to Neo4j database
step_start = time.time()
from app.repositories.neo4j.create_indexes import create_fulltext_indexes
from app.repositories.neo4j.create_indexes import create_all_indexes
try:
await create_fulltext_indexes()
await create_all_indexes()
except Exception as e:
logger.error(f"Error creating indexes: {e}", exc_info=True)