I'm installing the Ruby Xapian gem, an interface to the Xapian indexing system:
sudo gem1.9.1 install xapian Building native extensions. This could take a while...
Nope, that didn't work:
*** Building bindings for languages: ruby configure: WARNING: Xapian library is version 1.0.18 but the bindings are version 1.0.15 - we strongly recommend using matching versions.
This helped:
I'm using Xapian 1.0.18, Ruby 1.9.1, and I excluded other language bindings:
dev-48-gl:/var/www/dev/xapian-bindings/xapian-bindings-1.0.18$ ./configure RUBY=/usr/bin/ruby1.9.1 --without-php --without-python --without-tcl --without-csharp --without-java make sudo make install
irb(main):003:0> require 'xapian' => true irb(main):004:0> quit
Nice!
What will I be indexing? Just apt data to start, thanks to "apt-xapian-index".
Hah, I just noticed that the page by Taylor Luk also mentions the use of Xapian with CouchDB. Cool! I've chosen MongoDB over CouchDB, and it looks like there is interest in bridging MongoDB with Xapian, too. Cool!