4c-site icon indicating copy to clipboard operation
4c-site copied to clipboard

[Feat]: Implement Orama Search For The Search On The Website

Open tobySolutions opened this issue 8 months ago • 11 comments

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.
Screenshot 2023-10-15 at 16 01 03

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

tobySolutions avatar Oct 15 '23 15:10 tobySolutions