Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Goals / Scope
The goal of this PR is to improve the search, especially when it comes to finding exact matches.
Description
I've noticed that sometimes it's hard to find a particular dataset, especially when there is a lot of datasets with similar properties, like the NFI ones. I was developing some features using the
NFI: All target values by Lower/higher altitudinal zones
dataset, so I searched for it several times and was surprised that when I typed almost full name of the dataset, I needed to scroll down (a lot) to find it, while datasets on top were much worse matches (or at least seemed like).I started to dig in and realised that there are several possible improvements to help with such cases:
How to test
Exact match
en
and search for a given string:all target values by lower/higher
(drafts on, INT).NFI: All target values by Lower/higher altitudinal zones
cube appears on top.Language bonus points
en
and search for a given string:with hierarchie
(drafts on, INT).