4c-site
4c-site copied to clipboard
[Feat]: Implement Orama Search For The Search On The Website
Description
The current search for the website uses a normal JS filter algorithm to search the array of objects on the "Active Members" and "Staff" pages; this has two main issues which are:
- The search only returns an item when it exactly matches, it doesn't have suggestions or closely related feature
- There is no sorting algorithm for the items searched.
Solution
Using Orama search would really help improve the search experience on both the /active-members
and /staff
pages:
Reference:
https://github.com/oramasearch/orama#usage
Anything else?
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct