EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #03728


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: Xapian install on Ubuntu 12.04


Sure thing.. install libxapian, libsearch-xapian-perl (yup that's Search::Xapian) and voila. Then I'd install xapian-tools because some of their utility are damned useful to debup/map a xapian DB.

Then as a word of caution, I'd say be careful in using the default eprints-xapian indexing (what's shipped with eprints 3.3.x basically) cos it's very basic. Perhaps look up https://github.com/eprints/xapianv2 to do more advanced stuff such as faceting.

Seb

 

On 19.12.2014 20:25, Tomasz Neugebauer wrote:

We have the following instructions for installing Xapian on Ubuntu 12.04:

 

Install Xapian:

 

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

wget http://oligarchy.co.uk/xapian/1.2.13/xapian-omega-1.2.13.tar.gz

wget http://oligarchy.co.uk/xapian/1.2.13/xapian-bindings-1.2.13.tar.gz

 

tar zxvf xapian-core-1.2.13.tar.gz

tar zxvf xapian-omega-1.2.13.tar.gz

tar zxvf xapian-bindings-1.2.13.tar.gz

 

cd xapian-core-1.2.13

sudo apt-get install uuid-dev

sudo ./configure

sudo make

sudo make install

 

cd xapian-omega-1.2.13

sudo apt-get install libpcre3-dev

sudo ./configure

sudo make

sudo make install

 

cd xapian-bindings-1.2.13

sudo ./configure

sudo make

sudo make install

 

sudo cpan Search::Xapian

 

We were wondering if it is preferable to use the Ubuntu packages instead?

 

We found these packages:

 

libept-dev - High-level library for managing Debian package information

libxapian-dev - Development files for Xapian search engine library

libxapian22 - Search engine library

libxapian22-dbg - Debugging symbols for the Xapian Search engine library

xapian-doc - Core Xapian documentation

xapian-examples - Xapian simple example programs

libsearch-xapian-perl - Perl bindings for the Xapian search library

xapian-omega - CGI search interface and indexers using Xapian

xapian-tools - Basic tools for Xapian search engine library

 

libsearch-xapian-perl looks to be the equivalent to CPAN’s Search::Xapian?

Does anyone have any experience with installing xapian on Ubuntu this way?

 

Thanks!

 

Tomasz

 

 

________________________________________________

Tomasz Neugebauer

Digital Projects & Systems Development Librarian

tomasz.neugebauer@concordia.ca

Concordia University Libraries

1400 de Maisonneuve West (LB 341-3)

Tel.: (514) 848-2424 ex. 7738

Montreal, Canada

 


*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/