Thanks Pat. You are helpful as usually :) Ok, I will try what you suggested with DelayedDelta. Btw, do you know if there are Redis/Resque based implementations available?
Regarding the errors in the tests, I wonder though, why the first attempt fails? Cheers. On Saturday, May 11, 2013 at 4:19 PM, Pat Allan wrote: > Hi Tair > > For Delayed Deltas, you'll need to use the latest release of > ts-delayed-deltas (2.0.0), and instead of :delayed, use > ThinkingSphinx::Deltas::DelayedDelta. > > For that error message, it'd be better if I had that appearing in the logs, > rather than to STDOUT - but the fact that the tests still pass indicates the > first attempt of running it failed, but the second attempt passed. So, it's > safe to ignore. > > I'll have to get a patch in to change that output. > > -- > Pat > > On 11/05/2013, at 10:15 PM, Tair wrote: > > > Hi all. > > > > I finally upgraded to 3.0.3 from 2.0.13. Everything seems to work, however > > I had to remove "set_property delta: :delayed" and use "delta: true" in the > > new indices file. Moreover, I had to use "0.3.12b6" version of mysql2 gem. > > > > Does anyone have ideas on how to make the delayed deltas work with 3.0.3? > > Looks like the documentation has not been updated yet: > > http://pat.github.io/thinking-sphinx/deltas.html Or is there a workaround > > for delayed deltas? Does anyone use cron jobs or something to rotate > > indices? How often? Please share. > > > > Another problem I have is with tests. The tests pass, application works > > fine and I get the correct search results, but there are this kind of > > errors for each test using ThinkingSphinx: > > > > Error with statement: UPDATE property_core SET sphinx_deleted = 1 WHERE id > > = 408 > > > > Here is an example controller test I have: > > > > it 'should find all properties with atom' do > > ThinkingSphinx::Test.run do > > get :index, format: :atom > > assigns(:properties).size.should eql(2) > > end > > end > > > > Any ideas? > > > > Thanks! > > > > -- > > 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] > > (mailto:[email protected]). > > To post to this group, send email to [email protected] > > (mailto:[email protected]). > > Visit this group at http://groups.google.com/group/thinking-sphinx?hl=en. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > > > > > -- > You received this message because you are subscribed to a topic in the Google > Groups "Thinking Sphinx" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/thinking-sphinx/XekqL-zCWA4/unsubscribe?hl=en. > To unsubscribe from this group and all its topics, send an email to > [email protected] > (mailto:[email protected]). > To post to this group, send email to [email protected] > (mailto:[email protected]). > Visit this group at http://groups.google.com/group/thinking-sphinx?hl=en. > 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
