Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve departmental search results for multi-word queries #14

Open
TomBinford opened this issue Nov 21, 2023 · 1 comment
Open

Improve departmental search results for multi-word queries #14

TomBinford opened this issue Nov 21, 2023 · 1 comment

Comments

@TomBinford
Copy link
Contributor

TomBinford commented Nov 21, 2023

Some queries that could work better than they do:
"poli sci" should match POL SCI (Political Science) but currently gives 0 results

"bio chem" should match BIOL CH (Biological Chemistry) but currently gives 0 results
Ideally "biochem" would also match BIOL CH where it currently only matches CHEM; that might have to be hardcoded like "cs" -> "com sci" is.

"chem e" should match CH ENGR (Chemical Engineering) but currently gives 0 results

"mech e" should match MECH&AE (Mechanical and Aerospace Engineering) but currently gives 0 results

@christopherm99
Copy link

This is as simple as using a fuzzy search instead of an exact match search. Using a tool like https://github.com/farzher/fuzzysort would also even close #10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants