Sheldon Finlay wrote:
Thinking Sphinx seems to be way to go for a configurable real text
search engine. Here’s a railscasts.com screencast with links:
I liked Sphinx, and wrote it up, but it has turned out to be a real itch
Sphinx requires its own daemon running in another process. That makes
extremely difficult to keep clean. They must configure data, start the
run it reliably, and stop it on command.
This is silly in modern Web architecture, because Mongrel (or mod-rails,
Passenger) already are daemons, so a search system could simply ride
inside your Ruby vm as a @@class_instance of some controller. Its index
persist in memory long enough to be efficient at search time - that is
of a persistent daemon process.
I intend to look at SearchLogic as soon as possible - formerly
“Searchgasm” - to
see if it’s lighter than Sphinx. Over time, all of our Sphinx unit tests
“decayed”. They would fail for no reason, out of the blue, on the test
when we were busy working on something else, and we would comment them
Almost none are still online, and that is a very bad omen.
Sphinx’s authors could simply provide an in-memory version…