Difference between revisions of "Xapian and wormbase"

From WormBaseWiki
Jump to navigationJump to search
(Created page with ' C++ library: http://oligarchy.co.uk/xapian/1.2.4/xapian-core-1.2.4.tar.gz Perl modules: Search::Xapian Catalyst::Model::Xapian')
 
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
C++ library:
  
 +
<pre>
 +
http://oligarchy.co.uk/xapian/1.2.4/xapian-core-1.2.4.tar.gz
  
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
 +
</pre>
 +
 
  
 
Perl modules:
 
Perl modules:
  
 +
<pre>
 
Search::Xapian
 
Search::Xapian
 
Catalyst::Model::Xapian
 
Catalyst::Model::Xapian
 +
</pre>
 +
 +
 +
 +
Note:I will add info on indexing and such here
 +
 +
 +
 +
 +
 +
 +
<pre>
 +
cd /usr/local/wormbase/acedb/bin
 +
./tace ../wormbase
 +
 +
acedb> @dump_ace_for_search.script
 +
 +
</pre>
 +
 +
 +
 +
In case you make changes, how to compile the indexer:
 +
<pre>
 +
g++ -o aceindex -L/usr/local/lib -l xapian -lconfig++ aceindex.cc
 +
</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