kreeben / resin

Vector space index based search engine that's available as a HTTP service or as an embedded library.
MIT License
568 stars 40 forks source link

make Levenshtein implementation pluggable #25

Closed mdissel closed 7 years ago

mdissel commented 7 years ago

Is it planned to make the Levenshtein pluggable and for example replace it with Trigram?

kreeben commented 7 years ago

Oh definetly. Making the levenshtein algo implement an interface instead of being a static util method will be super-easy and since I'm acting on outside suggestions at the moment I shall have this done shortly.

kreeben commented 7 years ago

https://github.com/kreeben/resin/commit/4996a369c957d8415129112c855fbb54bb637116