Skip to content
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 simple ability to define best bets #117

Merged
merged 1 commit into from
Nov 19, 2023
Merged

Add simple ability to define best bets #117

merged 1 commit into from
Nov 19, 2023

Conversation

csutter
Copy link
Contributor

@csutter csutter commented Nov 19, 2023

"Best bets" allow boosting a specific set of results as much as possible for a given query string. Unlike with the previous search product, it's not possible to guarantee that this result will always be on top of the results - but it will get us close.

  • Add best_bets.yml configuration file to define best bets
  • Add ability to DiscoveryEngine::Search service to boost when a query matches a best bet, with slightly descending boost to allow for the definition of several best bets

"Best bets" allow boosting a specific set of results as much as possible
for a given query string. Unlike with the previous search product, it's
not possible to guarantee that this result will always be on top of the
results - but it will get us close.

- Add `best_bets.yml` configuration file to define best bets
- Add ability to `DiscoveryEngine::Search` service to boost when a query
  matches a best bet, with slightly descending boost to allow for the
  definition of several best bets
@csutter csutter merged commit c3e685d into main Nov 19, 2023
3 checks passed
@csutter csutter deleted the best-bets branch November 19, 2023 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant