Skip to content

Commit

Permalink
Optimize search queries for saved entities (#2007)
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacsolo committed Nov 11, 2021
1 parent 31f24ff commit 7989bbc
Show file tree
Hide file tree
Showing 3 changed files with 376 additions and 123 deletions.
3 changes: 3 additions & 0 deletions discovery-provider/src/queries/search_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
search_handle_exact_match_boost = 15
search_user_name_exact_match_boost = 5

# Weight for entities that have been saved by a user
current_user_saved_match_boost = 30

# Users

# Weight for similarity between query and user name
Expand Down

0 comments on commit 7989bbc

Please sign in to comment.