Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The +index pattern without a wildcard in the index list is handled inconsistently #3979

imotov opened this Issue Oct 26, 2013 · 0 comments


None yet
1 participant
Copy link

imotov commented Oct 26, 2013

If a cluster has three indices foo, bar and baz, the index list b*,+foo in search request is resolved into all three indices, while +foo,b* throws IndexMissingException[[+foo] missing]


curl -XPUT "http://localhost:9200/foo/doc/1?pretty" -d '{"f": "v"}'
curl -XPUT "http://localhost:9200/bar/doc/1?pretty" -d '{"f": "v"}'
curl -XPUT "http://localhost:9200/baz/doc/1?pretty" -d '{"f": "v"}'
curl -XPOST "http://localhost:9200/_refresh?pretty"
echo "Searching indices b*,+foo - works"
curl "http://localhost:9200/b*,%2bfoo/_search?pretty"
echo "Searching indices +foo,b* - doesn't work"
curl "http://localhost:9200/%2bfoo,b*/_search?pretty"

@ghost ghost assigned imotov Oct 26, 2013

imotov added a commit to imotov/elasticsearch that referenced this issue Oct 26, 2013

@imotov imotov closed this in d43f3d8 Oct 30, 2013

imotov added a commit that referenced this issue Oct 30, 2013

mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.