NIAID-Data-Ecosystem / nde-discovery-api

NIAID Data Ecosystem Discovery API, based on BioThings SDK
Apache License 2.0
0 stars 0 forks source link

[ES scoring change] Upweight Resource Catalogs relative to Datasets #15

Closed gtsueng closed 1 month ago

gtsueng commented 5 months ago

Issue Name

Upweight Resource Catalogs relative to Datasets

Issue Description

The NIAID team would like to see Resource Catalogs appear at the top of a search result list, IF the search result list includes a Resource Catalog. This can be accomplished by boosting the weight of Resource Catalogs in an ES search. However, we don't want to boost it to the point that it comes up even if it is barely relevant to the search term.

Note that this issue may potentially be inadvertently addressed/affected by the application of the Metadata Completeness score, so it may need to be tweaked after the application of the Metadata Completeness score has been determined.

Issue Discussion

This issue was discussed at the ODSET Onsite meeting dated 2024.03.06

Related WBS task

https://github.com/NIAID-Data-Ecosystem/nde-roadmap/issues/18 https://github.com/NIAID-Data-Ecosystem/nde-roadmap/issues/2

gtsueng commented 2 months ago

@jal347 The NIAID team has approved a few resource catalogs to move forward to production. Please adjust the ES search rankings such that IF a ResourceCatalog is included in a search result, it goes to the top of the search results.

gtsueng commented 2 months ago

@jal347 Can you look into why the boosting works for: https://data.niaid.nih.gov/search?q=%22Tuberculosis%22 Image

but not for: https://data.niaid.nih.gov/search?q=%22Tuberculosis%22+OR+%22Mycobacterium+bovis%22+OR+%22Mycobacterium+africanum%22+OR+%22Mycobacterium+canetti%22+OR+%22Mycobacterium+microti%22+OR+%22Phthisis%22 Image

jal347 commented 1 month ago

@gtsueng Its fixed now. I couldn't find any issue with it so I just made the boosting from 10 to 100 and it worked. Let me know if there are any other problems!

Screenshot 2024-06-26 at 4 48 51 PM
gtsueng commented 1 month ago

great!