gbif / registry

GBIF Registry
Apache License 2.0
35 stars 15 forks source link

Add country to search on GrSciColl collections #131

Closed rukayaj closed 9 months ago

rukayaj commented 5 years ago

On https://registry.gbif.org/collection/search it would be really nice if the search worked on the country field in the mailing addresses and physical addresses, at the moment it just seems to work on the address string.

So for example if I search for Norway (trying to see all the collections in Norway), I don't get https://registry.gbif.org/collection/5f096916-26ab-4927-ae0b-b6f0f6db55ed even though it is based in Oslo, because Norway is not mentioned in the address string or in the description.

marcos-lg commented 5 years ago

It is related to this other issue: https://github.com/gbif/registry/issues/95

In this particular case, I've also noticed that the country NO is not present in the full text column in the DB, perhaps Postgres filters it as a stop word

marcos-lg commented 9 months ago

This has been done some time ago.