openvsx
openvsx copied to clipboard
Fix search relevance
Fixes EclipseFdn/open-vsx.org#3194
- Use function_score query when sort by relevance
- Use IMDB rating formula for rating relevance
- Remove magic constants for downloadRef
| BEFORE | AFTER |
|---|---|
@kineticsquid Are the search results as expected? search-results.csv extension-relevance-calcs.csv
@chrisguindon @netomi FYI
I cant test this PR yet, is there a way to clone the elasticsearch instance for testing purposes so that you can validate such changes prior to deploying?