wikipathways / wikipathways.github.io

GitHub pages for GPML-Repo
https://www.wikipathways.org/
5 stars 18 forks source link

Prioritize exact matches in search results #109

Open AlexanderPico opened 12 months ago

AlexanderPico commented 12 months ago

In particular for WPIDs which commonly have lots of partial matches though a singular intent. E.g., WP10 should return a single hit, but it would return all WPIDs starting with 10, such as 100, 101, 1000, 1001, etc....

khanspers commented 12 months ago

The same thing is true for searches on pathway titles. For example, we have one pathway named "ABA biosynthesis", but a search for it returns it as number 4: https://www.wikipathways.org/search.html?query=ABA%20biosynthesis