forked from opensearch-project/OpenSearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize UnsignedLong range queries to convert to MatchNoDocsQuery wh…
…en lower > upper bounds (opensearch-project#14416) (opensearch-project#14483) * Added check for lower > upper at end of function * Fixed mistake of using < operator on BigInteger, now using compareTo * Fixed simple mistake of flipping > operator * Fixed space formatting * Updated CHANGELOG.md * Issue number linked in CHANGELOG.md * doTestDocValueRangeQueries now accepts MatchNoDocsQuery alongside IndexOrDocValuesQuery * dotestdoTestDocValueRangeQueries only checks indexQuery and randomAccessQuery only when query is type IndexIndexOrDocValuesQuery * Ran gradlew spotlessApply to fix import formatting issues * Imported Matchers.either method instead of entire Matchers class --------- (cherry picked from commit d2c08b3) Signed-off-by: Skyring100 <[email protected]> Signed-off-by: Andriy Redko <[email protected]> Co-authored-by: Andriy Redko <[email protected]> Signed-off-by: kkewwei <[email protected]>
- Loading branch information
Showing
3 changed files
with
10 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters