Find a needle (a document or record) in a haystack using string similarity and (optionally) regular expression rules. Uses Dice's Coefficient (aka Pair Similiarity) and Levenshtein Distance internally.
MIT License
677
stars
46
forks
source link
Best way to search over multiple active record models? #16
I have a search box in my webapp which fuzzy-searches over several different ActiveRecord models (e.g.
Company
,Person
).How would you recommend providing the top 10 results from across all sources?