3 ms·
Personally I don’t think it needs search but if you really want search short-term: you can add a simple JS filter function that filters on-page without needing
by joshspankit 3y ago
Personally I don’t think it needs search but if you really want search short-term: you can add a simple JS filter function that filters on-page without needing a backend.
I’d suggest two tweaks if you go that way: 1) Start the filtering only when number of typed characters >=3. 2. Add a (probably hidden) field that is also searched so you manually add search terms to a project and have it show up as a related item.
- hardwaresofton 3y agoOh yeah 100% I’m going build the search before and load it client side, probably with lunr.js or something similar. This is not worth rolling out a full search engine for! Thanks for the suggestion, I think calculation will happen all client side so… after one character is probably fine especially with a small enough index