Hi Johan You definitely still need to run `rake thinking_sphinx:index` regularly… otherwise, the delta indices grow and grow and become slower and slower to process - and thus, records aren’t available to search quickly any more.
As for *how* often, well, that depends on how often your data changes, and how quickly you need those edited and new objects as part of the search results. If you run it more often, the delta indices are kept small and fast, though it does mean a bit more load on your database. If you run it less often, less load, but then you’ll have larger delta indices, which are slower to reprocess via Resque, and thus longer waits for up-to-date results. Hope this helps clarify the situation. — Pat On 25 Oct 2013, at 8:29 pm, [email protected] wrote: > Our setup is as follows: > > * We run Sphinx > * We have delta-indexing with ts-resque-delta > * We run "rake thinking_sphinx:index" once every night > > My question is: Is running "rake thinking_sphinx:index" every night needed > with this setup? > > * Is there some kind of cleanup or shuffling of data between core <-> delta > indexes that needs to be done regularly when you have delta-indexing that is > performed by running the Rake-task every night? > * Can it be run more seldom? What are the possible tradeoffs, in that case? > > Thank you very much! > > -- > You received this message because you are subscribed to the Google Groups > "Thinking Sphinx" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/thinking-sphinx. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/thinking-sphinx. For more options, visit https://groups.google.com/groups/opt_out.
