Open
Description
Elasticsearch Version
9.0.0
Installed Plugins
No response
Java Version
bundled
OS Version
Elastic Cloud (Hosted)
Problem Description
A failing request — 404, document_missing_exception creates an index if doesn't yet exist
Steps to Reproduce
Console script to create the indexshouldnotbecreated index:
DELETE indexshouldnotbecreated
POST indexshouldnotbecreated/_update/1
{
"script": {
"source": "ctx._source.counter += params.count",
"lang": "painless",
"params": {
"count": 4
}
}
}
GET _cat/indices/indexshouldnotbecreated
Logs (if relevant)
No response