<div dir="ltr">Hello James, <div><br></div><div>As it was discussed, at present <font face="monospace, monospace">letor_rank(const Xapian::MSet & mset)</font> method returns a vector of sorted docids after performing re-ranking, whereas ideally, it should return a re-ranked MSet.</div><div><br></div><div>To be able to do this, I was thinking of adding <font face="monospace, monospace">rerank_mset(vector<double> updated_weights) </font><font face="arial, helvetica, sans-serif">method to mset.h, which basically updates the weight of each MSetItem in MSet with weights (or score, in terms of letor) obtained after re-ranking, and then sorts the </font><font face="monospace, monospace">vector<Xapian::Internal::MSetItems> items </font><font face="arial, helvetica, sans-serif">by these updated weights.</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">What do you think about this?</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Regards,</font></div><div><font face="arial, helvetica, sans-serif">Ayush</font><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px"><font color="#666666" style="font-family:arial"></font></div></div></div></div></div></div></div></div></div></div>
</div></div>