-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Closed
Closed
Copy link
Labels
:Data Management/Indices APIsDO NOT USE. Use ":Distributed/Indices APIs" or ":StorageEngine/Templates" instead.DO NOT USE. Use ":Distributed/Indices APIs" or ":StorageEngine/Templates" instead.>bugTeam:Data Management (obsolete)DO NOT USE. This team no longer exists.DO NOT USE. This team no longer exists.
Description
Elasticsearch version (bin/elasticsearch --version): 7.9.3
Plugins installed: None.
JVM version (java -version): 14
OS version: CentOS 7.4
Description of the problem including expected versus actual behavior: When trying to query an index and excluding with wildcard, the first wildcard exclude is not excluded.
Given the indices tatiana, virginia and alina, the expected result of GET tatiana,-ta* is nothing, while the actual response includes the index tatiana. However, GET tatiana,-al*,-ta* will not include tatiana.
Steps to reproduce:
- Create an index:
curl -XPUT localhost:9200/tatiana/1 -d '{
"title": "test document"
}'
- GET the index
tatianaand remove (exclude) all indices that begin withta*
curl -XGET localhost:9200/tatiana,-ta*
Provide logs (if relevant): -
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Data Management/Indices APIsDO NOT USE. Use ":Distributed/Indices APIs" or ":StorageEngine/Templates" instead.DO NOT USE. Use ":Distributed/Indices APIs" or ":StorageEngine/Templates" instead.>bugTeam:Data Management (obsolete)DO NOT USE. This team no longer exists.DO NOT USE. This team no longer exists.