wmo-im / wis2-gdc

WIS2 Global Discovery Catalogue Reference Implementation
https://wis2-gdc.readthedocs.io
Apache License 2.0
3 stars 2 forks source link

querying the GDC-API returns no results for q=GRIB but it does return results for q=GRIB2 #12

Closed maaikelimper closed 3 months ago

maaikelimper commented 4 months ago

Currently the GDC-API returns no results for q=GRIB but it does return results for q=GRIB2

tomkralidis commented 4 months ago

wis2-gdc is evaluating term searches (i.e. GRIB2 exists, GRIB does not). You could also use q=GRIB* as a wildcard option to q.

tomkralidis commented 3 months ago

As discussed with @maaikelimper, the user/client could also "mask" a q= search with a wildcard, so that q=GRIB is sent to the wis2-gdc backend as q=*GRIB*.