![](https://secure.gravatar.com/avatar/6f6914b1cdb438695ec1aaabba7463bb.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/eebfe70782eddbd0e4c77a144ef6b9d6.jpg?s=120&d=mm&r=g)
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@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@lists.gbif.org http://lists.gbif.org/mailman/listinfo/api-users
participants (2)
-
Peter Desmet
-
Tim Robertson