> multiple app servers but only one Sphinx/searchd

the caveat is "it will only work for a single searchd instance" - so
you should be fine to use the delayed delta with multiple app servers
(but it looks like you're not using delayed job anyway).

I use sphinx in a simliar way to you and the most useful information
in my index are the attributes (not fields) and you can actually live
update the index for these. I've stopped doing delta updates where
possible to do the live update instead. I've added a small extension
to thinking sphinx which makes it easier run http://pastebin.com/KgwWREnj.

(You need sphinx 0.9.9 if you want to live update MVA attributes
though)

Hope this is helpful.

Nick

On Apr 19, 5:12 pm, agibralter <[email protected]> wrote:
> 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 ofhttp://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 
> athttp://groups.google.com/group/thinking-sphinx?hl=en.

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