EBISPOT / OLS

Ontology Lookup Service from SPOT at EBI
http://www.ebi.ac.uk/ols
Apache License 2.0
95 stars 40 forks source link

Add document score to search results via webinterface #616

Open matthiaskoenig opened 2 years ago

matthiaskoenig commented 2 years ago

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?

henrietteharmse commented 1 year ago

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 commented 1 year ago

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.