# How does it score?

**URL:** <https://www.ruby-forum.com/t/how-does-it-score/168153>\
**Category:** Ferret\
**Created:** [May 17, 2009, 1:02am UTC](https://www.ruby-forum.com/t/how-does-it-score/168153 "2009-05-17T01:02:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![polarapfel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/958977/32.png) [@polarapfel](https://www.ruby-forum.com/u/polarapfel)\
**Post date:** [May 17, 2009, 1:02am UTC](https://www.ruby-forum.com/t/how-does-it-score/168153/1 "2009-05-17T01:02:46Z")

</div>

Hi,  
how do I find out what ferret actually does? My program works fine:

qp = QueryParser.new(:default\_field =\> :title)  
index.search\_each(qp.parse(“Some words”))

Now it seems that this way not all terms are required, but how does  
that affect the score?

I didn’t find the algorithm in the documentation, and I’m no good at  
reading large C projects.
