tsdataclinic / scout

Scout is a data discovery tool to explore open data portals worldwide.
https://scout.tsdataclinic.com
Apache License 2.0
33 stars 12 forks source link

[BUG] Search results do not prioritize exact matches #371

Open jps327 opened 1 year ago

jps327 commented 1 year ago

Describe the bug Search results do not prioritize exact string matches. For example, searching for "Motor Vehicle Collisions" returns the dataset of the same name in 5th place:

Screenshot 2023-03-24 at 3 25 26 PM

To Reproduce

  1. Go to NYC portal.
  2. Search for "Motor Vehicle Collisions"
  3. Dataset named "Motor Vehicle Collisions - Crashes" will not be first.

Expected behavior I'd expect datasets with exact matches to be ranked higher.

Screenshots n/a

Desktop (please complete the following information):

Smartphone (please complete the following information):

n/a

Additional context n/a