Skip to main content

search-admin: Rake tasks

These rake tasks come from the desc descriptions in search-admin’s lib/tasks folder. To change what’s shown here, change the description in the code.

completion:import_denylist

Trigger a denylist import to Discovery Engine

k exec deploy/search-admin -- rake completion:import_denylist

View source (lib/tasks/completion.rake)

document:delete_document

Delete a specific document from Google Cloud Agent Search Datastore

k exec deploy/search-admin -- rake document:delete_document[content_id]

View source (lib/tasks/document.rake)

document:get_document

Get a specific document from Google Cloud Agent Search Datastore

k exec deploy/search-admin -- rake document:get_document[content_id]

View source (lib/tasks/document.rake)

publish_external_links:publishing_api

Send external links to the Publishing API

k exec deploy/search-admin -- rake publish_external_links:publishing_api

View source (lib/tasks/publish_external_links.rake)