[Xapian-devel] Adding a score to documents

sinking sinking at bonbon.net
Sat Oct 30 11:46:46 BST 2004


Hi,

I have some ideas that I like to play around with (mostly ideas on how 
to rank 'spam' sites lower).. All the ideas is based on
setting a fixed score to the document, that could override the 
probalistic relevancy based on the
value of the extra score.

But I am confused on how I should implement it. I would like to hear 
what you think is the best approach.
My idea.
Add the score: to the Xapian::document  value ?
Add the weight calculation to the abstract weight class?
Add the supporting matchers?
Is it possible? Or should I do it in another way?

/ Peter Jensen



More information about the Xapian-devel mailing list