Difference between revisions of "Xapian and wormbase"

From WormBaseWiki
Jump to navigationJump to search
 
Line 40: Line 40:
 
g++ -o aceindex -L/usr/local/lib -l xapian -lconfig++ aceindex.cc
 
g++ -o aceindex -L/usr/local/lib -l xapian -lconfig++ aceindex.cc
 
</pre>
 
</pre>
 +
 +
you may need do this to run: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

Latest revision as of 16:11, 5 October 2011

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