gbif / portal-feedback

User feedback for the GBIF API, website and published data. You can ask questions here. 🗨❓
30 stars 16 forks source link

Dataset search: adding more text to q param, will add more data #5449

Open gbif-portal opened 2 weeks ago

gbif-portal commented 2 weeks ago

adding additional search params add more data

Dataset search behaves differently than our other search endpoints. It feels wrong that a more precise query will include more data. I like the collection approach of narrowing the search down is better.

for collections: 4 https://api.gbif.org/v1/grscicoll/collection/search?q=danish 1 https://api.gbif.org/v1/grscicoll/collection/search?q=danish+fungal

for datasets: 150 https://api.gbif.org/v1/dataset/search?q=danish 345 https://api.gbif.org/v1/dataset/search?q=danish+fungal


Github user: @MortenHofft User: See in registry - Send email System: Chrome 127.0.0 / Mac OS X 10.15.7 Referer: https://www.gbif.org/dataset/search?q=danish%20fungal Window size: width 1791 - height 1513 API log&_a=(columns:!(_source),filters:!(),index:'3390a910-fcda-11ea-a9ab-4375f2a9d11c',interval:auto,query:(language:kuery,query:''),sort:!())) Site log&_a=(columns:!(_source),filters:!(),index:'5c73f360-fce3-11ea-a9ab-4375f2a9d11c',interval:auto,query:(language:kuery,query:''),sort:!())) System health at time of feedback: OPERATIONAL