Difference between revisions of "Xapian and wormbase"
From WormBaseWiki
Jump to navigationJump to searchLine 1: | Line 1: | ||
C++ library: | C++ library: | ||
− | <pre>http://oligarchy.co.uk/xapian/1.2.4/xapian-core-1.2.4.tar.gz</pre> | + | <pre> |
+ | 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: | ||
Line 32: | Line 39: | ||
<pre> | <pre> | ||
g++ -o aceindex -L/usr/local/lib -l xapian aceindex.cc | g++ -o aceindex -L/usr/local/lib -l xapian aceindex.cc | ||
+ | |||
+ | g++ -o aceindex -L/usr/local/lib -l xapian -lconfig++ aceindex.cc | ||
+ | |||
</pre> | </pre> |
Revision as of 15:04, 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 aceindex.cc g++ -o aceindex -L/usr/local/lib -l xapian -lconfig++ aceindex.cc