[BUG] Bulk API doesn't honor the default_pipeline and final_pipeline defined in index template when auto-create index happens #12888
Labels
bug
Something isn't working
ingest-pipeline
v2.16.0
Issues and PRs related to version 2.16.0
v3.0.0
Issues and PRs related to version 3.0.0
Describe the bug
Update action with upsert in bulk API doesn't honor the default_pipeline and final_pipeline defined in an index template when the auto-created index matches with the template, this should be a bug because if the specified index already exists, the default_pipeline and final_pipeline will be executed.
Related component
Indexing
To Reproduce
, we can see that the pipeline
test_pipeline
was not executed.But if the index
test1
already exists before bulk, the result is different:Expected behavior
When the auto-creation happens, the default_pipeline and final_pipeline should be resolved correctly and then be executed.
Additional Details
Host/Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: