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

Apply slightly higher score to accepted terms #1

Open
acwittmann opened this issue Dec 9, 2022 · 1 comment
Open

Apply slightly higher score to accepted terms #1

acwittmann opened this issue Dec 9, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@acwittmann
Copy link

Hi,
as discussed in the meeting today, we agreed on also importing and unaccepted WoRMS terms into the term catalogue. For matching of terms with parameter names, it would then help to apply a higher scoring for the accepted WoRMS terms in case there are identical term names. We still preferably want to assign accepted terms to parameter names.
Cheers,
Astrid

@uschindler uschindler added the enhancement New feature or request label Dec 9, 2022
@uschindler
Copy link
Member

Hi Astrid,
I will tkae care of that. I will just need to add some boost factor for "accepted" and "PANGAEA accepted" terms in the query to elasticsearch. Based on @kitchenprinzessin3880 's code it should be easy to change (another SHOULD clause with a constant score boost)

@uschindler uschindler changed the title Apply slightly higher score to accepted WoRMS terms Apply slightly higher score to accepted terms Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants