2010-05-12

Xapian on Rails

just cloned one of my work projects at home, executed script/server and BAM:
"acts_as_xapian: No Ruby bindings for Xapian installed"

I installed xapian and set this all up on my ubuntu laptop, now again to set it up on my desktop, so I figured I would document it here because I forgot what I did on my laptop.

Here goes the steps I took:
1 - Went to ubuntu package manager, searched for "xapian", installed "libxapian-ruby1.8"
2 - run "rake xapian:rebuild_index models="Article"

done :),
maybe this was too easy for a blog post. whatever

1 comments:

  1. You should take a look at Sphinx for the search functionality. It's better then Xapian. I've written an article on this here: http://blog.sphereinc.com/2010/07/full-text-search-in-rails-applications-with-sphinx/

    ReplyDelete