icssc / peterportal-client

A web application to aid UCI students with course discovery and planning.
https://peterportal.org
MIT License
16 stars 14 forks source link

"I&C SCI 46" Should be the first result for the search "ICS 46", not on page 3 #456

Closed Awesome-E closed 2 weeks ago

Awesome-E commented 8 months ago

Reproduce:

  1. Search for "ICS 46"

Expected: I&C SCI 46 (Data structure implementation + analysis) shows as the first result Actual: the course number seems to take higher priority even when not a full match, causing ICS 46 to show on page 3 for an exact search

js0mmer commented 8 months ago

Interesting. Never noticed this since I've never capitalized, just searched up "ics 46" which works. Short term fix is to convert query to lower case before calling websoc fuzzy search.

In the future, fuzzy search will be reworked. https://github.com/icssc/peterportal-api-next/issues/131

js0mmer commented 2 weeks ago

fixed by #505