Index Management Guide¶
This document provides instructions for rebuilding indices within the SeaQA Indexer system.
Rebuilding Indices¶
Rebuilding an index is typically a two-step process: clearing the existing index and then updating it with fresh data.
Rebuild Connection Index¶
Use these commands to rebuild the index for a specific connection.
-
Navigate to the script directory:
cd /opt/seaticket/seaqa-indexer/seaqa_indexer/script -
Clear the existing index:
./rebuild_index.sh --connection-id <CONNECTION_ID> clear -
Update the index:
./rebuild_index.sh --connection-id <CONNECTION_ID> update
Rebuild Project Index¶
Use these commands to rebuild the index for a specific project.
-
Navigate to the script directory:
cd /opt/seaqa-indexer/seaqa_indexer/index/script -
Clear the existing index:
./rebuild_index.sh --project-uuid <PROJECT_UUID> clear -
Update the index:
./rebuild_index.sh --project-uuid <PROJECT_UUID> update
Note: Replace <CONNECTION_ID> and <PROJECT_UUID> with your actual connection ID and project UUID respectively.