Skip to content

Index exists API with wildcard returns true even when no index exists #52534

Closed
@cdalexndr

Description

@cdalexndr

Elasticsearch version (bin/elasticsearch --version):
Version: 7.6.0, Build: default/docker/7f634e9f44834fbc12724506cc1da681b0c3b1e3/2020-02-06T00:09:00.449973Z, JVM: 13.0.2

Plugins installed: []

OS version (uname -a if on a Unix-like system):
Linux 406d050fe126 4.19.76-linuxkit #1 SMP Thu Oct 17 19:31:58 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Description of the problem including expected versus actual behavior:

Checking if index exists with HEAD /twitter-* returns 200 - OK when no index exists.

Steps to reproduce:

  1. No index exists.
  2. HEAD /twitter-*

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions