- Issue created by @Nadim Hossain
- Merge request !2Issue #3540879 Complete the fix for bulk indexing on Elasticsearch → (Open) created by Nadim Hossain
This is a copy of this issue -
https://www.drupal.org/project/data_pipelines/issues/3467021
🐛
Complete the fix for bulk indexing on Elasticsearch endpoint
Needs review
As the module is separated in a independent project, need to create this bug against this new project. This exists in the 2.x but I am using 1.x, so tagging it as a 1.x.
A previous issue ( https://www.drupal.org/project/data_pipelines/issues/3385068 🐛 Change bulk indexing on Elasticsearch endpoint to aim at a single index Fixed ) addressed the need to change bulk indexing on the Elasticsearch endpoint to aim at a single index. The main part of this issue was resolved, an additional change was overlooked in the ElasticSearchDestination class.
The processCleanup method still uses the old approach of specifying the index in the body of each delete operation, rather than setting it at the top level of the bulk request.
Update the processCleanup method in the ElasticSearchDestination class to specify the index at the top level of the bulk request, consistent with the changes made in the previous fix.
Active
1.0
Code