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

QueryString ignores maxDeterminizedStates when creating a WildcardQuery #12266

Closed
nomoa opened this issue Jul 15, 2015 · 5 comments
Closed

QueryString ignores maxDeterminizedStates when creating a WildcardQuery #12266

nomoa opened this issue Jul 15, 2015 · 5 comments
Labels
>bug :Search/Search Search-related issues that do not fall into other categories v1.7.1 v2.0.0-beta1

Comments

@nomoa
Copy link
Contributor

nomoa commented Jul 15, 2015

This is a bug that has been fixed in lucene (https://issues.apache.org/jira/browse/LUCENE-6677) recently.
I don't know if it will be backported to lucene 4.10.x and thus have chance to get into elasticsearch 1.6.x.
Note that this fix could be backported in MapperQueryParser by overriding the newWildcardQuery method.

@clintongormley
Copy link

@nomoa This fix won't make it into 1.6.1 or 1.7.0 - too short notice. I think it'll have to wait for 2.0

@clintongormley
Copy link

Will be fixed by the upgrade to Lucene 5.3

@clintongormley
Copy link

hah - just seen your PR and that mike's on it - you're in luck :)

@nomoa
Copy link
Contributor Author

nomoa commented Jul 16, 2015

Yes, I guess it's my lucky day :)
This will be of great help to us to protect a cluster that was killed by a nasty wildcard query.

@mikemccand
Copy link
Contributor

I merged to 1.6.2, 1.7.1, 2.0. Thank you for fixing in both Lucene (5.3) and ES @nomoa!

@clintongormley clintongormley added :Search/Search Search-related issues that do not fall into other categories and removed :Query DSL labels Feb 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Search/Search Search-related issues that do not fall into other categories v1.7.1 v2.0.0-beta1
Projects
None yet
Development

No branches or pull requests

3 participants