blevesearch / bleve

A modern text/numeric/geo-spatial/vector indexing library for go
Apache License 2.0
10.13k stars 686 forks source link

improve fuzzy search to use levenshtein automaton #112

Open mschoch opened 10 years ago

mschoch commented 10 years ago

See: http://blog.mikemccandless.com/2011/03/lucenes-fuzzyquery-is-100-times-faster.html

Also, according to this post:

https://news.ycombinator.com/item?id=8202764

The author has already written a Go implementation. Unfortunately I have no way to reach this person.

dvirsky commented 7 years ago

@valsor not at the moment, no. might be easier to just wrap it in a Go API.

BitPhinix commented 6 years ago

I would really like to see this implemented. Are there any updates regarding this topic since the last post ?

mschoch commented 6 years ago

The scorch index implementation does use levenshtein automata for fuzzy search. It is nearly production ready, and once scorch beomes the default this issue will be closed.

tmm1 commented 5 years ago

How does one use fuzzy search on a scorch index?

EDIT: That would be via bleve.NewFuzzyQuery