-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Fix Unified highlighter for nested fields when using matchPhrasePrefixQuery #19442
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
Fix Unified highlighter for nested fields when using matchPhrasePrefixQuery #19442
Conversation
|
❌ Gradle check result for d61fbdb: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
d61fbdb to
bc6deeb
Compare
|
❌ Gradle check result for 17794cc: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
708767d to
739a4b9
Compare
2d8c6dd to
bf35e4b
Compare
|
❌ Gradle check result for bf35e4b: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
Some indentation failures @sjs004.
|
bf35e4b to
a0ad332
Compare
|
❌ Gradle check result for a0ad332: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
@sandeshkr419 There is a failing test ( Update: It passed locally so it's a flaky test |
a0ad332 to
19dc5a9
Compare
|
❌ Gradle check result for 5fbbc66: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for 13a511d: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for 13a511d: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
…xQuery Signed-off-by: sjs004 <simarjeet.singh004@gmail.com>
Signed-off-by: sjs004 <simarjeet.singh004@gmail.com>
Signed-off-by: sjs004 <simarjeet.singh004@gmail.com>
Signed-off-by: sjs004 <simarjeet.singh004@gmail.com>
Signed-off-by: sjs004 <simarjeet.singh004@gmail.com>
13a511d to
3fc81c4
Compare
sandeshkr419
left a comment
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.
Looks good! Thanks for working on this and adding up test cases for full coverage!
|
Thanks @sandeshkr419 . Finally all checks have passed. I actually had to retry pipeline multiple times due to flaky tests & sometimes jenkins job for gradle-check not starting |
|
Yeah, I guess the CI was throttled up and required manual approvals to continue. |
|
@sandeshkr419 I think wait time for Jenkins job parse error can be reduced from 2 hours. It is currently 2 hours, same as wait time for status check. Usually people may assume that tests are running but in reality the job itself didn't trigger |
@gaiksaya, @rishabh6788 - Do you think there is an opportunity to improve this? |
Description
CustomUnifiedHighlighter.rewriteCustomQuery() wasn't handling nested query (internally written as OpenSearchToParentBlockJoinQuery). Therefore unified highlighter wasn't working. Added the missing handling & updated tests
Related Issues
Resolves #19106
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.