Issue 18257

dataset search by country not working

18257
Reporter: mdoering
Assignee: mblissett
Type: Bug
Summary: dataset search by country not working
Priority: Blocker
Resolution: Duplicate
Status: Closed
Created: 2016-02-23 10:29:10.518
Updated: 2016-02-23 15:58:38.843
Resolved: 2016-02-23 15:58:38.819
        
Description: http://api.gbif.org/v1/dataset/search?country=US search by country doesn’t work at all

http://api.gbif.org/v1/dataset/search?publishingCountry=US publishingCountry works

There are no exceptions in the logs and the response is returned fine - probably missing data in the solr index. Hard to tell as its embedded and cant be queries directly
http://apps2.gbif.org:9000/dataset/search?country=FR]]>
    


Author: mblissett
Created: 2016-02-23 15:58:38.84
Updated: 2016-02-23 15:58:38.84
        
Duplicate of POR-522

From the portal API "Filters by country given as a ISO 639-1 (2 letter) country code. Not yet implemented for use with dataset search, but will eventually search on the countries within the geospatial coverage of the dataset."