[API-users] Dataset search on keyword broken?

Tim Robertson trobertson at gbif.org
Tue Sep 15 19:53:24 CEST 2015


Hi Peter,

Indeed it is a bug.

There is the full text search which uses “q” and not “keyword"  http://api.gbif.org/v1/dataset/search?q=lifewatch

Does that help as a workaround while it is investigated please?

Thanks,
Tim



On 15 Sep 2015, at 11:19, Peter Desmet <peter.desmet.work at gmail.com> wrote:

> Hi,
> 
> I'm trying to search for datasets with a certain keyword. Every query I try though returns 0 results:
> 
> http://api.gbif.org/v1/dataset/search?keyword=lifewatch
> 
> Some datasets do have that keyword though, e.g. http://data.inbo.be/ipt/resource?r=bird-tracking-gull-occurrences, but I noticed keywords are not displayed on GBIF dataset pages: http://www.gbif.org/dataset/83e20573-f7dd-4852-9159-21566e1e691e, though they are available via the API: http://api.gbif.org/v1/dataset/83e20573-f7dd-4852-9159-21566e1e691e
> 
> According to the documentation:
> 
> keyword parameter = Filters datasets by a case insensitive plain text keyword. The search is done on the merged collection of tags, the dataset keywordCollections and temporalCoverages.
> 
> Searching for the machineTag "13" (value for key "crawl_attempt") or temporalCoverage "breeding season 2013" which are both available in the above dataset, doesn't return anything either:
> 
> http://api.gbif.org/v1/dataset/search?keyword=13
> http://api.gbif.org/v1/dataset/search?keyword=breeding%20season%202013
> 
> Am I doing something wrong or is this a bug?
> 
> Peter
> _______________________________________________
> API-users mailing list
> API-users at lists.gbif.org
> http://lists.gbif.org/mailman/listinfo/api-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gbif.org/pipermail/api-users/attachments/20150915/85b01c22/attachment.html>


More information about the API-users mailing list