dlr-eoc / prosEO

prosEO – A Processing System for Earth Observation Data
GNU General Public License v3.0
14 stars 1 forks source link

PRIP API: Combination of $count and $top in query fails in some cases #186

Open tangobravo62 opened 1 year ago

tangobravo62 commented 1 year ago

In principle the combination of $count and $top does work for the prosEO PRIP API. But apparently if the count is above the set limit of e. g. 10,000 records, the limit kicks in and (unnecessarily) rejects the request.

Expected behaviour: If $top is below the set limit, the query shall be served as without the $count parameter.