<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>1.Could you explain why are these libraries included in all the xapian-letor headers?<br>
</div><div style="margin-left:40px">#include<xapian/intrusive_ptr.h><br></div><div style="margin-left:40px">
#include<xapian/types.h><br></div><div style="margin-left:40px">#include<xapian/visibility.h><br><br></div>Or just provide me with the documentation of these header. I looked into these header files but couldn't anything substantial.<br>
</div></div></div></div></div></div></blockquote><div><br></div><div>This header connect the xapian-letor to the xapian-core. But Olly will be able to throw more light on intrusive_ptr.h as he migrated the letor code from xapian-core/letor to what is not as xapian-letor/<br>
<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>
<br></div>2. <a href="https://github.com/rishabhmehrotra/xapian/blob/master/xapian-letor/include/xapian/letor.h#L41" target="_blank">Here</a> is the class Letor::Internal intentionally named same as this <a href="https://github.com/xapian/xapian/blob/99eed23ae87bb96f5f9ee7e14a62e9f4af04af0c/xapian-core/include/xapian/intrusive_ptr.h#L44" target="_blank">Internal</a> namespace or is it just a coincidence?<br>
</div></div></div></div></div></blockquote><div><br></div><div>The xapain-letor is built on top of xapain-core and follows the same naming conventions as for the xapian-core.<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div><div>
<br></div>3. If I am not wrong we want to dissolve letor_internal to create SVMRanker.<br></div> So accordingly letor,h will also change. Right?<br></div></div></div></blockquote><div><br></div><div>No, the letor.h and letor_internal.h are properly refactored format just basically for svmranker you need to refactor letor_internal_refactored.cc code. The main aim of letor_internal.cc for ranking is to create the ranker and operate trough it rather than defining letor_score() like functions.<br>
<br></div><div>Cheers,<br></div><div>Parth.<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><br></div>Thanks<span class="HOEnZb"><font color="#888888"><br>
<br></font></span></div><span class="HOEnZb"><font color="#888888">-Mayank<br><div><div><div><div><div><div>
<div><div><div><pre><div><span><font size="4"></font><br></span></div></pre></div></div></div></div></div></div></div></div></div></font></span></div>
<br>_______________________________________________<br>
Xapian-devel mailing list<br>
<a href="mailto:Xapian-devel@lists.xapian.org">Xapian-devel@lists.xapian.org</a><br>
<a href="http://lists.xapian.org/mailman/listinfo/xapian-devel" target="_blank">http://lists.xapian.org/mailman/listinfo/xapian-devel</a><br>
<br></blockquote></div><br></div></div>