Not sure if anyone else out there is working with Foreman (
https://github.com/ddollar/foreman) for managing processes in development or
deployment, but we've been using it on a project lately and it's been quite
handy for starting multiple processes in a single shot. The only downside is
that it requires processes to run in the foreground, which is a bit tricky
with Sphinx.

I put together a gist with a snippet from our Procfile as well as the rake
task we needed to make Sphinx run in the foreground.  Ideally, it'd be
awesome to turn this into one of the standard TS rake tasks, though it'd
require some mucking around with Riddle::Controller to allow multiple
strategies for invoking the searchd process programmatically.  Not quite
sure the best way to structure that, but if anyone has a good idea I'm all
ears.

Anyway, hopefully this is helpful to someone else.

Jay

-- 
Jay Zeschin
[email protected]
720.273.9549

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en.

Reply via email to