You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Type "ubuntu", "build", "infrastructure", "ubuntu build", "build infrastructure", or "ubuntu build infrastructure" into the search box
Select "Search roles"
Expected behaviour
Search results for the provided search term are displayed.
Both the roles listed in the "Setup" section are part of the search results.
Actual behaviour
Search results for the provided search term are displayed.
Only one role is part of the search results.
Additional notes
Investigation highlighted that fuse.js is used for the search, and it checks title. description, departments, and skills fields, with threshold = 0.3.
In a prototype, I've tested that threshold = 0.7 returns the results that were previously missing, but of course there are many more other results that are also returned.
One suggestion is to use the ignoreLocation parameter with e.g. ignoreLocation = true, so that the entire text is eligible for search
Another suggestion is to update threshold = 0.7.
Yet another suggestion is to add tags functionality that can be used for searching
A final suggestion is to create a list of all words in both the title and description, remove certain common words that shouldn't be searchable ("the", "in", "and", etc), and then add this list to the searchable keys.
The text was updated successfully, but these errors were encountered:
A final suggestion is to create a list of all words in both the title and description, remove certain common words that shouldn't be searchable ("the", "in", "and", etc), and then add this list to the searchable keys.
The search functionality on https://canonical.com/careers does not return results that should be returned.
Setup
Given two roles with the following titles:
Steps to reproduce
Expected behaviour
Actual behaviour
Additional notes
fuse.js
is used for the search, and it checkstitle
.description
,departments
, andskills
fields, withthreshold = 0.3
.threshold = 0.7
returns the results that were previously missing, but of course there are many more other results that are also returned.ignoreLocation
parameter with e.g.ignoreLocation = true
, so that the entire text is eligible for searchthreshold = 0.7
.The text was updated successfully, but these errors were encountered: