ols4 icon indicating copy to clipboard operation
ols4 copied to clipboard

Facet Data is missing from the search call response (v1)

Open Pooya-Oladazimi opened this issue 1 year ago • 2 comments

Describe the bug When this endpoint is used for the search: https://www.ebi.ac.uk/ols4/api/search?q=data&start=0&groupField=iri&rows=10 There is no facet count data (it only has the search results)

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

Expected behavior facet data needs to be included in the response

Screenshots N/A

Upload minimal complete example N/A

Additional context It should respond like v2 API: https://www.ebi.ac.uk/ols4/api/v2/entities?search=data&size=10&page=0&facetFields=ontologyId where the facetFieldsToCount field contains facet data.

I tried also to include facetFields param, but no luck: https://www.ebi.ac.uk/ols4/api/search?q=data&start=0&groupField=iri&rows=10&facetFields=ontologyId

Pooya-Oladazimi avatar Jan 19 '24 11:01 Pooya-Oladazimi