0
-An Ambitious Sphinx Adapter
0
-===========================
0
+= An Ambitious Sphinx Adapter
0
I don't know about you, but I like me some sexy full-text searching.
0
Meal.select {|m| m.name =~ 'bacon' && m.name !~ 'grilled'}
0
-
### Big honking disclaimer
0
+
== Big honking disclaimer
0
-We're still learning a lot about how sphinx and ambition work, so things are likely to change a lot
.
0
+We're still learning a lot about how sphinx and ambition work, so things are likely to change a lot
, and features are likely to be missing.
0
You will need the following gems to use ambitious-sphinx:
0
gem install ultrasphinx
0
-
Now install it as ambitious-sphinx:0
+We don't have a gem yet, so presumably you'll do a clone of our git repo. Then you need to install it:
0
- Require our files somewhere, like at the end of config/environment.rb
0
+Require our files somewhere, like at the end of config/environment.rb, maybe create config/initializers/sphinx.rb
0
+ require 'ambition/adapters/ambitious_sphinx'
0
-
require 'ambition/adapters/ambitious_sphinx'0
+
=== Sphinx and Ultrasphinx0
-
You will also need to go through the motions of setting up ultrasphinx. This includes setting up sphinx itself, and modifying your model to indicate what's to be indexed, and so on.
0
+
You will also need to go through the motions of setting up ultrasphinx.
0
-
### Playing with the code base0
-In addition to the other dependencies, you'll need:
0
+ * Configuring/installing sphinx
0
+ * Modifying your model to indicate what's to be indexed
0
+ * Bootstrapping ultrasphinx
0
+All this is discussed in detail in ultrasphinx's README
0
+== Playing with the code base
0
+In addition to the other dependencies, you'll need to:
0
gem install echoe redgreen mocha test-spec
0
-
### More information on Sphinx:
0
+
== More information on Sphinx:
0
-> http://www.sphinxsearch.com/
0
-> http://blog.evanweaver.com/articles/2007/07/09/ultrasphinx-searching-the-world-in-231-seconds/
0
-> http://blog.evanweaver.com/files/doc/fauna/ultrasphinx/files/README.html
0
-
### More information on Ambition:
0
+
== More information on Ambition:
0
-> http://ambition.rubyforge.org
0
-> http://groups.google.com/group/ambition-rb/
Comments
No one has commented yet.