Skip to content

Commit

Permalink
fix handling of index names including %, fixes #221
Browse files Browse the repository at this point in the history
  • Loading branch information
cars10 committed Jul 14, 2024
1 parent fd3e57d commit ba13ebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/ElasticsearchAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export default class ElasticsearchAdapter {
if (indices.length > MAX_INDICES_PER_REQUEST) {
return this.callInChunks({ method: 'indexDelete', indices })
} else {
return this.request(indices.join(','), 'DELETE')
return this.request(cleanIndexName(indices.join(',')), 'DELETE')
}
}

Expand Down

0 comments on commit ba13ebc

Please sign in to comment.