Difference between revisions of "Xapian and wormbase"

From WormBaseWiki
Jump to navigationJump to search
 
(One intermediate revision by the same user not shown)
Line 38: Line 38:
 
In case you make changes, how to compile the indexer:
 
In case you make changes, how to compile the indexer:
 
<pre>
 
<pre>
g++ -o aceindex -L/usr/local/lib -l xapian aceindex.cc
+
g++ -o aceindex -L/usr/local/lib -l xapian -lconfig++ aceindex.cc
 +
</pre>
  
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
 
 
</pre>
 

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