agibralter wrote:
> Because I have multiple app servers but only one Sphinx/searchd
> server, I cannot use the standard delta indexer. I have seen the
> caveat at the bottom of http://freelancing-god.github.com/ts/en/deltas.html
> but I can't figure out a good way to send asynchronous delta update
> jobs to my application server with searchd on it. Has anyone figured
> out a good way to do this? Also, I'm not using delayed_job in my
> app... I'm using Workling/Starling, but thinking of moving to
> Resque... has anyone seen a delayed delta that uses Resque? If so, is
> there a way to send the "async_update_deltas" jobs to my app server
> with searchd?
An asynchronous work queue is definitely the way to go. If you're
already using workling/starling it should be possible to trigger delta
rebuilds using that.
The trick is that you can pass any class to the delta property in your
index definition:
set_property :delta => MyWorklingDelta
To setup MyWorklingDelta, you could use the delayed job delta gem as a
base, it's a very small piece of code.
There's a gem out there that used to support deltas via workling, you
could also see if that still works:
http://github.com/dpickett/workling_delta_indexer
-- James Healy <[email protected]> Tue, 20 Apr 2010 11:16:59 +1000
--
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.