Displaying 1 result from an estimated 1 matches for "default_min_similarity".
2006 Sep 19
2
acts_as_ferret and Fuzzy Searching
Hi there,
I''d like to be able to tune the results of a Fuzzy search in a rails
application. I''ve tried setting the following in my environment.rb file.
Ferret::Search::FuzzyQuery.default_min_similarity = 0.75
Ferret::Search::FuzzyQuery.default_prefix_length = 2
When I go into the console, I can see those values as the default
but when I run a search like Post.find_by_contents(''word~'') I always get
the same results, no matter how I set the above variables. I can say
Post...