search-api-v2: Rake tasks
These rake tasks come from the desc descriptions in search-api-v2’s lib/tasks folder.
To change what’s shown here, change the description in the code.
document_sync_worker:create_queue
Create RabbitMQ queue for development environment
k exec deploy/search-api-v2 -- rake document_sync_worker:create_queue
View source (lib/tasks/document_sync_worker.rake)
document_sync_worker:run
Listens to and processes messages from the published documents queue
k exec deploy/search-api-v2 -- rake document_sync_worker:run
View source (lib/tasks/document_sync_worker.rake)
quality_monitoring:assert_invariants
Runs the invariant dataset and validates 100% recall
k exec deploy/search-api-v2 -- rake quality_monitoring:assert_invariants
View source (lib/tasks/quality_monitoring.rake)
user_events:import_yesterdays_events
Import yesterday’s user events from the BigQuery analytics dataset
k exec deploy/search-api-v2 -- rake user_events:import_yesterdays_events
View source (lib/tasks/user_events.rake)
user_events:import_intraday_events
Import today’s (intraday) user events from the BigQuery analytics dataset
k exec deploy/search-api-v2 -- rake user_events:import_intraday_events
View source (lib/tasks/user_events.rake)
user_events:import_events_for_date
Import user events from the BigQuery analytics dataset for a specific date
k exec deploy/search-api-v2 -- rake user_events:import_events_for_date[date]
View source (lib/tasks/user_events.rake)
user_events:purge_final_week_of_retention_period
Purge user events that occurred during the final week of the retention period
k exec deploy/search-api-v2 -- rake user_events:purge_final_week_of_retention_period
View source (lib/tasks/user_events.rake)