On 9/20/06, Steven Hammond <[EMAIL PROTECTED]> wrote:
>
> 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.find_by_contents('word~0.75') and Post.find_by_contents('word~0.5')
> and get different results.
>
> Any help is appreciated.
>
> Thanks,
> Steve
Hi Steven,
This was a bug so thanks for letting me know about it. I've fixed it
now. You can get the latest version from the subversion repository or
wait for the next gem.
Cheers,
Dave
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk