Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

feat(suggest): Add score field to suggestion #119

Merged
merged 2 commits into from
Sep 2, 2021
Merged

Conversation

mythmon
Copy link
Contributor

@mythmon mythmon commented Sep 1, 2021

Score indiciates the relative preference between suggestions, with higher
scores being preferred. This can allow Firefox and other clients of Merino to
make more intelligent decisions about what suggestions to include when many are
available.

Fixes #118

@mythmon mythmon requested a review from a team September 1, 2021 20:59
Score indiciates the relative preference between suggestions, with higher
scores being preferred. This can allow Firefox and other clients of Merino to
make more intelligent decisions about what suggestions to include when many are
available.

Fixes #118
Copy link
Contributor

@ncloudioj ncloudioj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Can you also update the API doc for this?

@mythmon
Copy link
Contributor Author

mythmon commented Sep 2, 2021

Oh right. That was sort of the whole point of this. Thanks for the reminder 😅

@mythmon mythmon enabled auto-merge (squash) September 2, 2021 14:51
@mythmon mythmon merged commit 06556d8 into main Sep 2, 2021
@mythmon mythmon deleted the suggestion-score branch September 2, 2021 14:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add score to Merino suggestion responses
2 participants