search for: sum_extra

Displaying 1 result from an estimated 1 matches for "sum_extra".

2006 Jul 25
2
weight scheme with document values
...points. I implemented a MatchDecider which work well. I now tried to implement a Weight scheme to put my document in ascending order depending on the distance... My information to calcul distance is in values in the document. How I can access document values from Weight to be able to add some sum_extra weight ?? I just tried to create a function in Weight that look like: Xapian::weight get_sumextra(std::map<Xapian::valueno, std::string> values) const; to calculate an extra weight from my documents values... But now I going deeper and deeper in the code to make this functions working......