Skip to content
Snippets Groups Projects
Commit a32553f3 authored by Daniel Bimschas's avatar Daniel Bimschas
Browse files

HOLI-9527: add fields `matchedTopics`, `matchedSkills` and `matchedGeoLocationDistanceInMeters`

This commit extends the `Engagement` type by three new fields that are set if used in a
recommendation query response:

* `matchedTopics`
* `matchedSkills`
* `matchedGeoLocationDistanceInMeters`

The first two fields contain topics and skills that a recommendation query asked for if (and only
if) those were the reason for the recommendation to include a given engagement in the response.
A match will only be included if it surpasses a certain threshold (set to 0.5 in this commit).

If `geoLocationId` is passed as a query parameter`matchedGeoLocationDistanceInMeters` contains the
distance in meters from the geolocation resolved from `geoLocationId`to the geolocation of the
engagement opportunity.
parent 6f496efc
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment