# Filtering out low scoring matches with acts\_as\_ferret (fwd)

**URL:** <https://www.ruby-forum.com/t/filtering-out-low-scoring-matches-with-acts-as-ferret-fwd/111581>\
**Category:** Ferret\
**Created:** [August 8, 2007, 8:09pm UTC](https://www.ruby-forum.com/t/filtering-out-low-scoring-matches-with-acts-as-ferret-fwd/111581 "2007-08-08T20:09:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Casey\_Forbes](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/6bbea6/32.png) [@Casey\_Forbes](https://www.ruby-forum.com/u/Casey_Forbes)\
**Post date:** [August 8, 2007, 8:09pm UTC](https://www.ruby-forum.com/t/filtering-out-low-scoring-matches-with-acts-as-ferret-fwd/111581/1 "2007-08-08T20:09:46Z")

</div>

Hi all,

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?

Thanks,  
Casey

---

<div class="post-metadata">

**Author:** ![Casey\_Forbes](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/6bbea6/32.png) [@Casey\_Forbes](https://www.ruby-forum.com/u/Casey_Forbes)\
**Post date:** [August 9, 2007, 11:13am UTC](https://www.ruby-forum.com/t/filtering-out-low-scoring-matches-with-acts-as-ferret-fwd/111581/2 "2007-08-09T11:13:31Z")

</div>

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

> 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
