[Xapian-devel] Contributing to Xapian

Hanxiao Sun sunhanxiaoisme at gmail.com
Sat Dec 6 15:55:36 GMT 2014


Hi~ Manu

I was glad to see you were interested in Xapian, especially the learning to
rank project. There are two branch in my repo. The one named gsoc2014
is followed the thought of Parth's work in which we not assign the test set
for each ranking and in another one gsoc2014-evaluation we assign the
training set and test set explicitly so that we can get the evaluation
score of each ranking algorithm based on its performance on the test
set. In a nutshell, my suggestion is to choose the gsoc2014-evaluation.

As to your compile errors, I have tested the branch just now and it works
well on my side. Maybe you should read the HACKING under the xapian-core.
It can help you to know how to hacking on Xapian more clearer. Take it
easy. It also takes me many time before I can contribute something.

2014-12-06 10:01 GMT+08:00 Manu Gupta <gmanu at umich.edu>:

> Hi
>
> Thank you!!
>
> I tried building the letor for both the branches and unfortunately both of
> them do not build :
>
> gsoc2014 branch gives an error at :
>
> C -DPIC -o .libs/ranklist.o
> ranklist.cc: In member function 'void Xapian::RankList::sort_by_score()':
> ranklist.cc:98:6: error: unused variable 'fvv_size'
> [-Werror=unused-variable]
> ranklist.cc: In member function 'void Xapian::RankList::sort_by_label()':
> ranklist.cc:108:6: error: unused variable 'fvv_size'
> [-Werror=unused-variable]
> cc1plus: all warnings being treated as errors
> make[3]: *** [ranklist.lo] Error 1
> make[3]: Leaving directory `/home/manugupt1/han/xapian/xapian-letor'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/manugupt1/han/xapian/xapian-letor'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/manugupt1/han/xapian/xapian-letor'
>
>
> and gsoc2014-evaluation branch has:
>
> emanager.cc  -fPIC -DPIC -o .libs/featuremanager.o
> featuremanager.cc:89:1: error: unused parameter 'did1'
> [-Werror=unused-parameter]
> cc1plus: all warnings being treated as errors
> make[3]: *** [featuremanager.lo] Error 1
> make[3]: Leaving directory `/home/manugupt1/han/xapian/xapian-letor'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/manugupt1/han/xapian/xapian-letor'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/manugupt1/han/xapian/xapian-letor'
> make: *** [all] Error 2
>
>
> Also, if I am looking at LETOR tutorials, I should probably take a look at
> how they work with xapian right, which is documented here at :
>
>
> http://trac.xapian.org/wiki/GSoC2014/Learning%20to%20Rank%20Hanxiao%20Sun/Report
>
> Thanks a lot
>
> Best Regards
> Manu Gupta
>
> On Thu, Dec 4, 2014 at 8:44 PM, Olly Betts <olly at survex.com> wrote:
>
>> On Thu, Dec 04, 2014 at 08:28:32PM -0500, Manu Gupta wrote:
>> > I was trying to build Han's code and was stuck here. It seems to me that
>> > his code is trying to generate pdf for them.
>> >
>> > Is it possible to modify the make files to stop building the
>> documentation.
>>
>> You can run the top-level configure with --disable-documentation.
>>
>> Cheers,
>>     Olly
>>
>
>
> _______________________________________________
> Xapian-devel mailing list
> Xapian-devel at lists.xapian.org
> http://lists.xapian.org/mailman/listinfo/xapian-devel
>
>


-- 
孙晗晓(Hansel Sun)
Master Student of Computer Science at Institute of Computing
Technology,Chinese Academy of Sciences(ICT)
Email:sunhanxiaoisme at gmail.com <Email%3Asunhanxiaoisme at gmail.com>
Mobile: (86)186-0025-6936

------------------------------
This email (including any attachments) is confidential and may be legally
privileged. If you received this email in error, please delete it
immediately and do not copy it or use it for any purpose or disclose its
contents to any other person. Thank you.

本电邮(包括任何附件)可能含有机密资料并受法律保护。如您不是正确的收件人,请您立即删除本邮件。请不要将本电邮进行复制并用作任何其他用途、或透露本邮件之内容。谢谢。
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20141206/4233da53/attachment.html>


More information about the Xapian-devel mailing list