-
Notifications
You must be signed in to change notification settings - Fork 2k
Add support for matched_fields with the unified highlighter #18166
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 support for matched_fields with the unified highlighter #18166
Conversation
❌ Gradle check result for e9a0a85: 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? |
e9a0a85
to
ad13011
Compare
❌ Gradle check result for ad13011: 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? |
ad13011
to
6f75191
Compare
f7907c5
to
32061e5
Compare
❌ Gradle check result for 32061e5: 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? |
Failure I can see from the last build is:
|
32061e5
to
a6fbda7
Compare
❌ Gradle check result for a6fbda7: 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? |
a6fbda7
to
fa503d1
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #18166 +/- ##
============================================
- Coverage 72.57% 72.47% -0.11%
+ Complexity 67446 67325 -121
============================================
Files 5488 5488
Lines 311069 311067 -2
Branches 45217 45218 +1
============================================
- Hits 225757 225431 -326
- Misses 66986 67229 +243
- Partials 18326 18407 +81 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
This looks great! Thanks a lot @nomoa!
...rnalClusterTest/java/org/opensearch/search/fetch/subphase/highlight/HighlighterSearchIT.java
Show resolved
Hide resolved
is the code coverage check being green mandatory? The code is being tested in integration tests but if you prefer I can introduce a dedicated test for these lines (might need to make some methods visible for testing, unless there are some facilities to easily create/mock |
fa503d1
to
4d6a2ae
Compare
❌ Gradle check result for 4d6a2ae: 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? |
4d6a2ae
to
09717f8
Compare
❕ Gradle check result for 09717f8: UNSTABLE Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
09717f8
to
95d48bb
Compare
❌ Gradle check result for 95d48bb: null 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? |
This option was silently ignored when running the unified highlighter. Since lucene 10 it is now possible to pass a list of additional fields to fetch matches from and blend into the snippets. Signed-off-by: David Causse <dcausse@wikimedia.org>
95d48bb
to
dcd711a
Compare
Description
This option was silently ignored when running the unified highlighter. Since lucene 10 it is now possible to pass a list of additional fields to fetch matches from and blend into the snippets.
Related Issues
Resolves #18164
Check List
[ ] API changes companion pull request created, if applicable.