magda-io / magda

A federated, open-source data catalog for all your big data and small data
https://magda.io
Apache License 2.0
513 stars 93 forks source link

Raise search rank for terms that exactly match dataset names #2115

Open gavintapp2 opened 5 years ago

gavintapp2 commented 5 years ago

Problem description

If I search for "PSMA Administrative Boundaries" I get lots of search results for the States, before I see the result I want on page 4 of the results. It would be good to see results ranked higher where they more closely match the search term (ie contain the search term and no/less other terms.)

Problem reproduction steps

Go here - see search results of this phrase https://data.gov.au/search?page=4&q=PSMA%20Administrative%20Boundaries

Screenshot / Design / File reference

AlexGilleran commented 5 years ago

Thanks for the issue :).

Yeah it's a bit weird that it comes up on page 4 - ideally we'd have some way to look in the ZIP file, which would stop it from coming up below all the state datasets that have better ratings because we can see the format. You can get around it by putting " around the query for now :).