Xapian and wormbase

From WormBaseWiki
Revision as of 16:11, 5 October 2011 by Acabunoc (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

C++ library:

http://oligarchy.co.uk/xapian/1.2.4/xapian-core-1.2.4.tar.gz


this one is needed to run the indexer. not for running xapian
http://www.hyperrealm.com/libconfig/libconfig-1.4.8.tar.gz


Perl modules:

Search::Xapian
Catalyst::Model::Xapian


Note:I will add info on indexing and such here




cd /usr/local/wormbase/acedb/bin
./tace ../wormbase

acedb> @dump_ace_for_search.script


In case you make changes, how to compile the indexer:

g++ -o aceindex -L/usr/local/lib -l xapian -lconfig++ aceindex.cc

you may need do this to run: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib