EBISPOT / ols4

Version 4 of the EMBL-EBI Ontology Lookup Service (OLS)
http://www.ebi.ac.uk/ols4/
Apache License 2.0
47 stars 22 forks source link

Expanded part is missing from the search result in v1 API #763

Open Pooya-Oladazimi opened 1 month ago

Pooya-Oladazimi commented 1 month ago

Describe the bug In ols3 search result, there was a field called "expanded" that holds the info regarding the "also in" for each search result. Example in ols3: https://service.tib.eu/ts4tib/api/search?q=data&start=0&groupField=iri&rows=10

This is missing from the ols4 v1: https://www.ebi.ac.uk/ols4/api/search?q=data&start=0&groupField=iri&rows=10

To Reproduce call the search endpoint

https://www.ebi.ac.uk/ols4/api/search?q=data&start=0&groupField=iri&rows=10

Expected behavior v1 in ols4 should be backward compatible with ols3

Screenshots ols3: Screenshot from 2024-10-16 16-14-38

ols4 v1 Screenshot from 2024-10-16 16-14-59

giraygi commented 2 weeks ago

@deepananbu has solved this issue on https://github.com/TIBHannover/ols4/pull/81 . You can cherry-pick it if you want.