Node search should be ordered by relevancy score, not creation date
- Dominant language
- TypeScript
- Stars
- 24
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Description
When searching in the mesh-ui, the results are ordered by the creation date instead of the relevancy score, this creates the following problems:
- The most relevant nodes are not at the top of the search result list (example displayed on the image below)
- When there's more than 10 results found, only the first 10 are shown as there's no pagination
- The lack of pagination and ordering by creation date opens the possibility to bury the most relevant nodes on inaccessible pages
[Image of a search where the most relevant is not at the top](https://i.ibb.co/yqVhrmN/localhost-problem.jpg)
It seems that this is affected by the code on the images below, I suggest removing the "sort" parameters from these queries as it will use the relevancy by default.
[Code 1 at "src\app\core\providers\effects\list-effects.service.ts" line 189](https://i.ibb.co/HpP4w5K/code1.jpg)
[Code 2 at "src\app\core\providers\effects\list-effects.service.ts" line 232](https://i.ibb.co/5F5JRB7/code2.jpg)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.