Skip to content

Fix search relevance#1385

Merged
netomi merged 1 commit into
eclipse-openvsx:mainfrom
amvanbaren:search-relevance
Jun 30, 2026
Merged

Fix search relevance#1385
netomi merged 1 commit into
eclipse-openvsx:mainfrom
amvanbaren:search-relevance

Conversation

@amvanbaren

@amvanbaren amvanbaren commented Nov 4, 2025

Copy link
Copy Markdown
Contributor

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

@amvanbaren amvanbaren self-assigned this Nov 4, 2025
@amvanbaren

Copy link
Copy Markdown
Contributor Author
BEFORE AFTER
search-code-before search-code-after
search-lang-before search-lang-after
search-vsco-before search-vsco-after

@kineticsquid Are the search results as expected?
search-results.csv
extension-relevance-calcs.csv

@kineticsquid

Copy link
Copy Markdown
Contributor

@chrisguindon @netomi FYI

@netomi

netomi commented Nov 17, 2025

Copy link
Copy Markdown
Contributor

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?

@netomi netomi self-requested a review January 12, 2026 13:44
@netomi netomi added server (Component: server) Backend platform and service-side functionality search Search indexing and result relevance labels Jan 12, 2026
@netomi netomi force-pushed the search-relevance branch from 0adff0e to 57773b9 Compare June 30, 2026 20:05
- Use function_score query when sort by relevance
- Use IMDB rating formula for rating relevance
- Remove magic constants for downloadRef
@netomi netomi force-pushed the search-relevance branch from 57773b9 to ca45313 Compare June 30, 2026 21:07

@netomi netomi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

tested that locally with a copy of the production DB.
Relevance ranking is greatly improved.

@netomi netomi merged commit c22436e into eclipse-openvsx:main Jun 30, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

search Search indexing and result relevance server (Component: server) Backend platform and service-side functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change search result ranking

3 participants