Try our conversational search powered by Generative AI!

Score and Relevance

Vote:
 

Hello,

Does anyone know how the score is calculated/derived when using Find? Presumably a page with the word banana on 6 times will have a higher score than a page with banana on 3 times but is the score affected with the placing of a word/phrase i.e. if the term appears in the meta data does this produce a higher score than content only?

Any thoughts or links to documentation appreciated.

Cheers,

Mark

#75531
Sep 27, 2013 15:36
Vote:
 

As far as I know, properties are treated equal. However, properties with shorter values will generate more score, for example a title called "This is my banana page" will generate more score than a large mainbody containing "banana", as one word out of five is worth more than one of a 100.

You have the possibility to boost the score, if you feel that certain fields are more "imporatnt" than others.

// boost title field. Default is 1
.InField(x => x.Title, 2)

    

#76071
Edited, Oct 16, 2013 14:42
Vote:
 

Thanks Per, that's useful to know. So based on what you've said if the mainbody had the word banana in 10 times the title would still score higher as it would be 10 out of 100 in the mainbody versus 1 out of 5 in the title?


Mark

#76223
Oct 21, 2013 12:32
Vote:
 

Well, the algorithm is not all that simple, but something like that, yes. :-)

#76224
Oct 21, 2013 12:43
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.