On 08.08.2007, at 19:36, Casey Forbes wrote:

> I'm using fuzzy~ queries which can return very poor matches.  What  
> is the
> most elegant way to filter out scores below some threshold? I know  
> that I
> can do my own thing with find_id_by_contents but I'd like to filter  
> out
> less relevant results at a lower level so that I can  
> use :limit/:offset
> for pagination and all that.
>
> What am I missing?

You can specify a fuzziness factor after the ~. A higher factor will  
reduce fuzziness and thus return less but more accurate results.

Example:

fuzzy~0.8

Cheers,
Andy

_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to