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

can be switched of es.resource validation #233

Closed
b0c1 opened this issue Jul 20, 2014 · 1 comment
Closed

can be switched of es.resource validation #233

b0c1 opened this issue Jul 20, 2014 · 1 comment

Comments

@b0c1
Copy link

b0c1 commented Jul 20, 2014

Hi!
I want to create a query from multiple indices but I can't.
I try to do the following:

*/*
_all/_all
_all/mytype
*/mytype

Only the index is not allowed (I don't know why) so I can't query _all and filter with es.query...

Any idea?

@costin costin added bug and removed bug labels Aug 11, 2014
@costin costin closed this as completed in 7527c4a Aug 13, 2014
costin added a commit that referenced this issue Aug 13, 2014
improve index validation
relates #233
costin added a commit that referenced this issue Aug 13, 2014
Allow aliases (like _all) to be used only when reading data.

fix #205
fix #233

(cherry picked from commit 7527c4a)
costin added a commit that referenced this issue Aug 13, 2014
improve index validation
relates #233

(cherry picked from commit 04f3c99)
@costin
Copy link
Member

costin commented Aug 13, 2014

Hi,

This has been fixed in master and 2.0.x Notice that the wildcard only works for indices but not for types - if you specify _all or *, it will not work. This is consistent with ES.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants