Skip to content

GET _warmer should return a 404 for warmers that do not exist #5155

@Mpdreamz

Description

@Mpdreamz

Doing the following in any of the 0.90 releases

curl -XPOST "http://localhost:9200/my-new-index"
curl -XGET "http://localhost:9200/my-new-index/_warmer/this-warmer-does-not-exists"

Will result in:

{
   "error": "IndexWarmerMissingException[index_warmer [this-warmer-does-not-exists] missing]",
   "status": 404
}

However in the 1.0 GA release the latter returns a 200 with the following body:

{}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions