Josh Rabinowitz wrote on 07/21/2009 09:42 AM:
> At 3:22 PM -0500 7/17/09, Peter Karman wrote:
>> [ ... ]
>> I just did a small test using about 80k docs (about 1.5G) just for
>> comparison.
>>
>> Swish-e 2.4.7 = 00:07:46
>> swish_xapian = 00:32:47
>>
>> Quite a difference. Note though that Swish-e 2.x by default (without -e)
>> does it all in RAM (except for properties) and only flushes to disk at
>> the end. Xapian flushes every N (default 10000) docs where N is
>> adjustable (set it with XAPIAN_FLUSH_THRESHOLD to something higher if
>> you have enough RAM to accomodate).
>
>
> Is there an example of using Swish3 with Xapian to build and search
> on an index?
>
> I read the Swish3 page at http://dev.swish-e.org/wiki/swish3, and saw
> that there some mention of an example in the swish3 docs, but I
> couldn't find it in Swish3's svn trunk.
>
% cd src/xapian
% make test
% make install
% cd some/place/else
% swish_xapian some/file.xml
% swish_xapian -q foo
The Makefile in src/xapian may not be build by default unless you have
'xapian' listed as a SUBDIR in src/Makefile.am. I'd like to figure out
how best to do that with autoconf.
You can also look at the test.pl file in src/xapian/test.pl since that
runs the xapian-specific tests.
--
Peter Karman . http://peknet.com/ . peter(at)not-real.peknet.com
gpg key: 37D2 DAA6 3A13 D415 4295 3A69 448F E556 374A 34D9
_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Tue Jul 21 11:05:23 2009