-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Add max_expansions option to wildcard interval #1916
Add max_expansions option to wildcard interval #1916
Conversation
Can one of the admins verify this patch? |
❌ Gradle Check failure df40fd7dcb6e780a97faf46ffeff980aa027743e |
Failure is unrelated to PR, please rerun. |
Add support for setting the max expansions on a wildcard interval. The default value is still 128 and the max value is bounded by `BooleanQuery.getMaxClauseCount()`. Signed-off-by: Matt Weber <matt@mattweber.org>
83fb289
to
4790ad8
Compare
❌ Gradle Check failure 83fb2891e6ed3c8714722b89ba46a34a853cbaa0 |
server/src/main/java/org/opensearch/index/query/IntervalsSourceProvider.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/opensearch/index/query/IntervalsSourceProvider.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Matt Weber <matt@mattweber.org>
Thanks for the review @reta, I have pushed up the change. |
start gradle check |
@nknize can you please take a look at this when you have a chance? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thx @mattweber
thanks @nknize, can I backport it? |
Yes please! Thx! |
@mattweber Yes, basically you change it to V_1_3_0 and (sadly) it needs one more PR to master to change V_2_0_0 to V_1_3_0, otherwise backward compatibility tests will fail, thank you |
Add support for setting the max expansions on a wildcard interval. The default value is still 128 and the max value is bounded by `BooleanQuery.getMaxClauseCount()`. Signed-off-by: Matt Weber <matt@mattweber.org>
Change from 2x to 1.3 for wildcard interval max_expansion version check since opensearch-project#1916 was backported. Signed-off-by: Matt Weber <matt@mattweber.org>
Change from 2x to 1.3 for wildcard interval max_expansion version check since #1916 was backported. Signed-off-by: Matt Weber <matt@mattweber.org>
Description
Add support for setting the max expansions on a wildcard interval.
The default value is still 128 and the max value is bounded by
BooleanQuery.getMaxClauseCount()
.Issues Resolved
#1857
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.