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

In-app search engine #73

Open
Erudition opened this issue Jul 8, 2023 · 1 comment
Open

In-app search engine #73

Erudition opened this issue Jul 8, 2023 · 1 comment

Comments

@Erudition
Copy link
Owner

Every object in the app should be subject to full-text search. Ideally this is all done within Elm.

The most relevant text search libraries are:

https://package.elm-lang.org/packages/jxxcarlson/elm-search/latest/
Searches text like the one below but also dates, no special features.

https://package.elm-lang.org/packages/billstclair/elm-id-search/latest/
Can just filter records by their strings, so may be useful for autocomplete tagging of tasks or contexts or people

https://package.elm-lang.org/packages/jxxcarlson/elm-text-search/latest/
Does everything the above can do, Covers all the basics, allows negation and logical operators, not much fuzziness features

https://package.elm-lang.org/packages/rluiten/elm-text-search/latest/
inspired by lunr, probably the most powerful option, includes fuzziness features!

@Erudition
Copy link
Owner Author

Great article about Lunr, the JS inspiration:
https://thoughtbot.com/blog/full-text-search-in-your-browser

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

1 participant