Skip to content

Commit

Permalink
Add binding for search-api-v2 bulk sync
Browse files Browse the repository at this point in the history
Like the existing functionality in `search-api`, we want to add the
ability to enqueue a "bulk reindex/sync" for `search-api-v2`. This
deliberately listens to a different routing key from `search-api` to
avoid pointlessly reindexing documents there as part of any v2 work, and
uses the same queue as regular indexing for simplicity.
  • Loading branch information
csutter committed Oct 31, 2023
1 parent 238e64c commit 7d4284b
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,14 @@
"routing_key": "*.*",
"arguments": {}
},
{
"source": "published_documents",
"vhost": "publishing",
"destination": "search_api_v2_published_documents",
"destination_type": "queue",
"routing_key": "*.bulk.search_api_v2_sync",
"arguments": {}
},
{
"source": "published_documents",
"vhost": "publishing",
Expand Down

0 comments on commit 7d4284b

Please sign in to comment.