search for: hurricanetong

Displaying 6 results from an estimated 6 matches for "hurricanetong".

2014 Feb 13
2
A beginner in "Posting list encoding improvements"
I uninstall xapian1.3 and install xapian-1.2.17 but i still failed hurricanetong at hurricanetong-VirtualBox:~/workspace$ g++ `xapian-config --cxxflags --libs` demo2.cc /tmp/cc2wsfDJ.o: In function `main': demo2.cc:(.text+0x4a): undefined reference to `Xapian::WritableDatabase::WritableDatabase(std::basic_string<char, std::char_traits<char>, std::allocator<char&...
2014 Feb 13
2
回复: A beginner in "Posting list encoding improvements"
I think what i did is the same with you except i use make rather than make -sj8, and I did as root. And I do as you wrote again: root at hurricanetong-VirtualBox:/home/hurricanetong/xapian-1.2.17/xapian-core-1.2.17# ./configure [...] root at hurricanetong-VirtualBox:/home/hurricanetong/xapian-1.2.17/xapian-core-1.2.17# make -sj8 Making all in . Making all in docs Making all in tests root at hurricanetong-VirtualBox:/home/hurricanetong/xapian-1....
2014 Feb 12
2
A beginner in "Posting list encoding improvements"
On 12 Feb 2014, at 14:58, "Hurricane Tong" <zhangshangtong.cpp at qq.com> wrote: > hurricanetong at hurricanetong-VirtualBox:~/workspace$ g++ `xapian-config --cxxflags --libs` BuildIndexDemo.cpp You want to use xapian-config-1.3 here, not xapian-config (which will be the installed version, not the trunk version you built). I've just built trunk (on Mac OS, admittedly), and your code comp...
2014 Feb 12
2
A beginner in "Posting list encoding improvements"
On Wed, Feb 12, 2014 at 10:32:03PM +0800, Hurricane Tong wrote: > I seem to run into some trouble. > I succeeded in building the source code of Xapian in ubuntu, > but when I write a demo c++ application > > [snip] > I can't get it built. > > > hurricanetong at hurricanetong-VirtualBox:~/workspace$ g++ -L/usr/local/lib -lxapian-1.3 BuildIndexDemo.cpp Hmmm, where did you get this invocation from? This should be: g++ `xapian-config --cxxflags --libs` BuildIndexDemo.cpp xapian-config knbow how to link xapian applications (and libxapian-1.3 looks stran...
2014 Feb 12
2
A beginner in "Posting list encoding improvements"
On 12 Feb 2014, at 08:55, Olly Betts <olly at survex.com> wrote: > For GSoC projects, I'd recommend developing on Linux, or another > Unix-like platform. I think everyone who has so far expressed an > interest in mentoring uses Linux or Mac OS X, so we're much better > placed to help with development on such platforms. If you're on Windows, the way of doing this
2014 Mar 13
3
Optimized VSEncoding
...er is 12592387, while that by InterpolativeEncoder is 8554817. When only encoding the first 1000lines, both cost 0ms to decode and VS cost 1ms to encode while Interpolative cost 0ms, 1000lines is just too little to catch the difference in my test. I upload the source code to https://github.com/HurricaneTong/Xapian/tree/master/VSEncoder The bitstream.cpp and bitstream.h is about VSEncoder. The Interpolative.cpp and Interpolative is about InterpolativeEncoder from the Xapian's code. I haven't write comment on the code, but in main.cpp, double CalTimeVS( const vector<unsigned int>& src...