Skip to content
This repository has been archived by the owner on Apr 28, 2023. It is now read-only.

Add document score to search results via webinterface #616

Open
matthiaskoenig opened this issue Jul 4, 2022 · 2 comments
Open

Add document score to search results via webinterface #616

matthiaskoenig opened this issue Jul 4, 2022 · 2 comments

Comments

@matthiaskoenig
Copy link

It would be great to have the score of the search engine as part of the search results.
E.g. https://www.ebi.ac.uk/ols/api/search?q=liver
The general score is described as qf = label^5 synonym^3 description short_form^2 obo_id^2 annotations logical_description iri, but not returned as part of the results. We want to use the ranking information to build an annotation tool but currently the ranking score is not provided as part of the results.

Where can I find more information about the ranking and score currently applied in the search?

@matthiaskoenig matthiaskoenig changed the title Add score to search results via webinterface Add document score to search results via webinterface Jul 4, 2022
@henrietteharmse
Copy link
Contributor

Currently OLS is using Solr version 5.x. However, in our redesign of OLS we are considering other solutions. Hence, I will be very reluctant to encourage use of specific scoring numbers as that may be implementation dependent.

@matthiaskoenig
Copy link
Author

I would only use these to evaluate search results relative to each other within a single version of the OLS. So changes in the absolute score values would not matter.

The only thing the score has to fulfill is to be monotone, i.e. the higher the score the better the result.

  • access to the score would allow to evaluate/merge multiple searches (e.g. to search via synonyms)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants