I use Sphinx for displaying filtered, sortable, and searchable lists
of items in my web app. I use Sphinx even when there is no searching
involved because ThinkingSphinx's sphinx_scopes make it very easy to
chain attribute constraints together and because Sphinx is very fast.
There is an obvious disadvantage though: lists are not displayed in
realtime. This means I have to leverage delta indexing as much as
possible...

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?

Anyway, as an alternative, I've been using ts-datetime-delta to keep
the lists as up-to-date as possible, running the rake ts:index:delta
task every 2 minutes with cron on my server with searchd. I'm thinking
of moving to 1 minute to be more realtime... This seems much more
frequent than any examples of ts-datetime-delta I've seen... does this
sound crazy? Should I try and figure out a way to use the delayed
delta instead?

Sorry for all the questions! I appreciate any advice!

Best,
Aaron

-- 
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