olivernn / lunr.js

A bit like Solr, but much smaller and not as bright
http://lunrjs.com
MIT License
8.87k stars 547 forks source link

Feature Request: Fuzzy search prefix length #477

Open HarshaLaxman opened 3 years ago

HarshaLaxman commented 3 years ago

https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-fuzzy-query.html https://stackoverflow.com/a/37840112/6483906

Super useful feature I've used in Elasticsearch, helps avoid overmatching on shorter queries.

I'm down to give it a shot (probably not soon) if no one wants to do this.