When building a new environment or the search indexes are deleted and needs to
be rebuilt, make sure to run the InitHandler
.
If the index already exists, and it is not necessary to update mappings, skip to step 3.
- Trigger
DeleteNviCandidateIndexHandler
. Verify that the index is deleted. - Trigger
InitHandler
. Verify that the index is created. - Trigger
NviBatchScanStartHandler
with input:
{
"types": [
"CANDIDATE"
]
}
The IndexDLQ
is a shared DLQ for all handlers related to indexing.
NviRequeueDlqHandler
consumes messages from the IndexDLQ
, and updates the
candidate in the DB with a new version. This will trigger the indexing flow
for the candidates.
Default count
(number of messages consumed from DLQ) is 10. To specify
another count
, provide it as input:
{
"count": 100
}
See template for which DLQs are available for redrive (configured with
RedrivePolicy
). To start a DLQ redrive, locate the DLQ in the AWS console
(SQS) and press Start DLQ Redrive.