Page 1 of 1

doc size / relevancy

Posted: Wed Apr 09, 2008 3:39 pm
by basement_addict
Is there a control/knob that will allow the document size to get calculated in the ranking algorithm?

I noticed when the contents of the field being searched on contains a short amount of text it gets ranked higher

doc 1) description = "linux"
doc 2) description = "we use linux as our operating system and texis for our search engine"

searching on 'linux' and sorting by relevancy will return doc 1 ranked higher.

Is there a way to change that?

doc size / relevancy

Posted: Wed Apr 09, 2008 4:55 pm
by John
That may be getting ranked higher because the word is closer to the beginning of the document. You can also use a calculated order by using any valid SQL expression.

doc size / relevancy

Posted: Thu Apr 10, 2008 10:33 am
by mark
http://www.thunderstone.com/site/texism ... knobs.html

likepleadbias is the knob John is talking about and is adjustable.

http://www.thunderstone.com/site/texism ... liker.html

"$rank" is the variable you can use in an expression and has the raw rank value.