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

Fuzzy search #81

Open
maxwofford opened this issue Dec 7, 2023 · 4 comments
Open

Fuzzy search #81

maxwofford opened this issue Dec 7, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@maxwofford
Copy link
Member

I'd like to look for hack.af entries like how I did on airtable, with a fuzzy search that goes over slugs and their destination. Currently the search feature only returns the exact slug I type in (which I could have already found by just going to hack.af/SLUG and seeing where it takes me), which is less useful.

@maxwofford
Copy link
Member Author

/hack.af search bin
/hack.af search first-bin
/hack.af search bin-first
/hack.af search frc-bin

Screenshot 2024-04-23 at 12 21 08

I still can't find the slugs I'm looking for so I've been going into the production database to find them.

@grymmy
Copy link
Contributor

grymmy commented Apr 24, 2024

/hack.af search bin should be returning a lot more results - agreed. We definitely need to improve the search functionality here.

@grymmy grymmy added the enhancement New feature or request label Apr 24, 2024
@grymmy
Copy link
Contributor

grymmy commented Apr 24, 2024

@DevIos01 let's talk about how we should implement this in the near future

DevIos01 added a commit that referenced this issue May 16, 2024
limit to first 50 search but can be changed into command so user can decide how many , finding default amount would be optional too.
DevIos01 added a commit that referenced this issue May 16, 2024
while testing we see that last results are not related to the actual slug search so adding similarityThreshold to filter those out currently on 0.2 but will be changed if needed after testing
DevIos01 added a commit that referenced this issue May 18, 2024
* Added support to Fuzzy Search #81
* Added similarityThreshold #81
@DevIos01
Copy link
Member

Hey @maxwofford, this is live #104 feel free to test it out. lmk if there any issue or if threshold should be lowered.

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

No branches or pull requests

4 participants
@maxwofford @DevIos01 @grymmy and others