Skip to content

Commit

Permalink
Use temp index for delete
Browse files Browse the repository at this point in the history
  • Loading branch information
kdelemme committed Feb 12, 2025
1 parent 01b88e4 commit 335baa9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export class CleanUpTempSummary {
this.logger.info(`Deleting ${buckets.length} duplicate temporary documents`);
await this.esClient.deleteByQuery(
{
index: SUMMARY_DESTINATION_INDEX_PATTERN,
index: SUMMARY_TEMP_INDEX_NAME,
wait_for_completion: false,
body: {
query: {
Expand Down

0 comments on commit 335baa9

Please sign in to comment.