weixsong / elasticlunr.js

Based on lunr.js, but more flexible and customized.
http://elasticlunr.com
MIT License
2.04k stars 149 forks source link

one character off #41

Open d3netxer opened 7 years ago

d3netxer commented 7 years ago

Is there a way to produce search results when a user may have misspelled a word by one character? For example 'afganistan' instead of 'afghanistan'?

PTC-JoshuaMatthews commented 2 years ago

I too would like to know, with lunr.js you can pass in editDistance, but that doesn't seem to be working here. Seems like a glaring omisison @weixsong unless I am missing something?