Enable highlighting results
Type of change
-
Bug Fix -
Feature
Changes related to the ADR: #128 (closed)
Does this introduce a change in the core logic?
- [NO]
Does this introduce a change in the cloud provider implementation, if so which cloud?
-
AWS -
Azure -
Google Cloud -
IBM
Changes are for all provider however related code before and and after changes fully identical.
Does this introduce a breaking change?
- [NO] This feature had some different implementation before, but it was never enabled. Also it wasn't working correctly as it wasn't handling json paths so only top level field could be selected and there was no support for list fields.
What is the current behavior?
Currently there is no highlighting available for the users
What is the new/expected behavior?
Users can specify optional field highlightedFields
which will add to each search result additional dictionary under key highlight
with phrases from selected fields which matched the query. Example in the updated docs
Have you added/updated Unit Tests and Integration Tests?
Unit tests have been updated and some were added
Any other useful information
Merge request reports
Activity
added Common Code MRNew Feature labels
changed milestone to %M20 - Release 0.23
added 9 commits
-
8795140d...3b84949e - 8 commits from branch
master
- 49b4b6f2 - Enable highlighting results
-
8795140d...3b84949e - 8 commits from branch
mentioned in merge request osdu/platform/system/lib/core/os-core-common!226 (merged)
- Resolved by Stanisław Bieniecki
- Resolved by Neelesh Thakur
Unit test was added for only provider. Can add for others?
I know, Search service impl classes can be refactored so we don't have add same code in all places, but until then please provide the tests.
- Resolved by Mark Chance
Can you please add/update at least one integration tests for this functionality?
- Resolved by Mark Chance
- Resolved by Mark Chance
- Resolved by Mark Chance
- Resolved by Stanisław Bieniecki
- Resolved by Stanisław Bieniecki
added 33 commits
-
7c7229f2...363a4c49 - 32 commits from branch
master
- abdde98e - Merge branch 'master' into sbstan/enable-highlighting-results
-
7c7229f2...363a4c49 - 32 commits from branch
added 1 commit
- add7091f - Update pom.xml - use 23.0-SNAPSHOT of oscorecommon
requested review from @nthakur
assigned to @sbstan
added 3 commits
-
add7091f...aa6694df - 2 commits from branch
master
- d715842c - Merge remote-tracking branch 'origin/master' into sbstan/enable-highlighting-results
-
add7091f...aa6694df - 2 commits from branch
- Resolved by Mark Chance
- Resolved by Mark Chance
added 1 commit
- 944878bb - update core common reference to version 0.23.1
Please review -- all pipelines run as much as to be expected... CC @Rustam_Lotsmanenko @ydzeng @Srinivasan_Narayanan @nthakur
Hi @Java1Guy Azure approved.
mentioned in commit 1641017b
mentioned in merge request !553 (merged)