Skip to content

[SCH-1975] Add rake task to get docs from one index and check against another#3566

Draft
stringiest wants to merge 1 commit intomainfrom
rake-task-to-find-missing-documents
Draft

[SCH-1975] Add rake task to get docs from one index and check against another#3566
stringiest wants to merge 1 commit intomainfrom
rake-task-to-find-missing-documents

Conversation

@stringiest
Copy link
Copy Markdown
Contributor

Adding a rake task to retrieve content_ids for all docs in one index, and then to check another index to ensure they exist there. Intended to be used to check that all docs from government index were copied over to govuk index.

WIP:

  • added initial attempt at search query to get all docs
  • Need to set a batch size then re-request until all docs are retrieved
  • Haven't checked yet whether digging gives correct output.

Need to set a batch size then re-request until all docs are retrieved. Haven't checked yet whether digging gives correct output.
@stringiest stringiest force-pushed the rake-task-to-find-missing-documents branch from 78213a3 to 735abd4 Compare April 9, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant