Erudition / Minder

Assistant & life planner for individuals with weak Executive Functions. (Pre-alpha)
https://erudition.github.io/Minder
GNU General Public License v3.0
10 stars 0 forks source link

In-app search engine #73

Open Erudition opened 1 year ago

Erudition commented 1 year ago

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 commented 1 year ago

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