Jump to content

Recommended Posts

Posted

Has anyone here a recommendation on a simple fulltext search library in javascript? I've ~30 FAQ item that should be searchable, but somehow all the libraries I've tried are missing even fullword hits at times. Either they are to fancy and miss those basic hits or they are to simple and have a hard time with fuzzy search terms. 

Tried out libs:

lunr.js

fuzzy.js

elasticlunr.js

fuze.js

fuzzyset.js

  • Like 1
Posted

@Soma

Thanks for the hint, this whole string scoring topic yielded a lot more options to test. Hopefully there's one, that matches what I need it to do. 

But to answer your question: These FAQ items are quite simple – an id, an sentence of a question and a short paragraph of an answer. And I need some way to get the most fitting or relevant item. 

Posted

The famous jquery DataTables have a Dynamic search / filter inputfield embedded what do a great job. Not exactly what you are looking for, but maybe worth a look into the code. Maybe they use an embedded sub library for that?

Posted

Is this for your InputfieldChosenSelect module? :) I've been using it a lot and found myself wishing for fuzzy matching.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...