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

COPDS-1777: custom ranking on catalogue search #121

Merged
merged 5 commits into from
Jul 2, 2024
Merged

Conversation

alex75
Copy link
Collaborator

@alex75 alex75 commented Jul 1, 2024

This PR must be merget together with ecmwf-projects/cads-catalogue-api-service#79
In this PR:

  • Added field 'popularity' on resources (integer from metadata.yaml, default 1)
  • Added field 'fts' (ts_vector to consider lexemes from high_priority_terms)
  • Added a new ranking function for FTS (ts_rank2)

@FussyDuck
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@alex75 alex75 self-assigned this Jul 1, 2024
@alex75 alex75 merged commit 2a88c3e into main Jul 2, 2024
8 of 9 checks passed
@alex75 alex75 deleted the copds-1777-fts branch July 2, 2024 09:59
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.

None yet

2 participants