grav-plugin-simplesearch icon indicating copy to clipboard operation
grav-plugin-simplesearch copied to clipboard

Is fuzzy searching possible?

Open corey-martin opened this issue 8 years ago • 3 comments

Can I configure the plugin so the search query "foo bar" would include results that just have "foo" or just "bar"? Maybe even similar_text above a certain percentage for misspellings? Thanks!

corey-martin avatar Dec 07 '16 14:12 corey-martin

Currently not supported, would be a good new feature

flaviocopes avatar Dec 19 '16 10:12 flaviocopes

Judging from spelling correctors, misspellings could be coped with easily.

I would very much like to also have phonetic matching - there are several to choose from, starting with original Soundex, then Beider-Morse, Metaphone and Double Metaphone. I've been doing a database for music publishing and confusions like Maniero for Mainerio are a problem when users search.

ThosG avatar Mar 02 '17 14:03 ThosG

I've tried to implement that on my fork https://github.com/manuel-84/grav-plugin-simplesearch/commit/06175b5f8a4c60fe3608264bf3217a8e7f2e39ea

manuel-84 avatar Jan 17 '18 15:01 manuel-84