chore: add changeset for elasticsearch bulk refresh fix

Signed-off-by: nojaf <florian.verdonck@outlook.com>
This commit is contained in:
nojaf
2026-01-20 15:35:13 +01:00
parent 46da01c26c
commit 7021165618
@@ -0,0 +1,9 @@
---
'@backstage/plugin-search-backend-module-elasticsearch': patch
---
Fixed inefficient bulk refresh behavior where `refreshOnCompletion: true` caused a full cluster refresh of all indexes instead of refreshing only the specific index being populated.
When using the Elasticsearch/OpenSearch bulk helper, passing `refreshOnCompletion: true` triggers a refresh of `_all` indexes. This change restores the original behavior of passing the specific index name, ensuring only the target index is refreshed after bulk indexing completes.
This fix improves performance for OpenSearch/Elasticsearch deployments, especially in multi-tenant environments or clusters with many indexes.