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

Course code in fuzzy search #1051

Open
MinhxNguyen7 opened this issue Nov 22, 2024 · 3 comments
Open

Course code in fuzzy search #1051

MinhxNguyen7 opened this issue Nov 22, 2024 · 3 comments
Assignees
Labels
enhancement Improvements to the user experience

Comments

@MinhxNguyen7
Copy link
Member

MinhxNguyen7 commented Nov 22, 2024

Description

  • Functionality to search for a course code in fuzzy search.
  • The easiest way to do that would be to see if the query is a five-digit number and say "search for section xxxxx"
  • The better UX would be to show the section itself in the search suggestions.
    • This would necessitate changing the fuzzy search drop-down and re-implementing fuzzy search on a per-term basis (which would probably be a nicer experience) because section codes are resused.
@MinhxNguyen7 MinhxNguyen7 moved this to Selected for Development in AntAlmanac Nov 22, 2024
@MinhxNguyen7 MinhxNguyen7 added the enhancement Improvements to the user experience label Dec 12, 2024
@MinhxNguyen7 MinhxNguyen7 moved this from Selected for Development to In Progress 🤠 in AntAlmanac Jan 23, 2025
@MinhxNguyen7
Copy link
Member Author

#1129 was a broken implementation and has been reverted

@MinhxNguyen7
Copy link
Member Author

We need to think about how to do this without increasing the bundle size and memory usage 20 times

@MinhxNguyen7
Copy link
Member Author

Solution: shard the index into multiple files that ship with the lambda bundle and read from them dynamically (as requests come in). You should be able to do this by uploading the lambda as a zip file archive. Let me know if you run into problems there.

Right now, try to shard it by term, which should be easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvements to the user experience
Projects
Status: In Progress 🤠
Development

No branches or pull requests

2 participants