Okay, now things have gotten officially confusing. The record is getting its delta flag set, and the global settings shouldn't stop delta indexing... but we're not seeing anything happen when you force the indexing...
If you repeat the last set of steps, then jump out of script/console and run the following: indexer --config config/development.sphinx.conf --rotate expense_delta And then back into script/console: client = Riddle::Client.new "localhost", 11002 client.query "", "expense_delta" -- Pat On 17/02/2009, at 12:14 PM, Steven Bristol wrote: > > On Mon, Feb 16, 2009 at 8:03 PM, Pat Allan <p...@freelancing- > gods.com> wrote: >> >> Okay, global settings are all correct... >> >> e = >> Expense.new :amount=>1, :creator_id=>1, :business_id=>1, :due_date >> => Date.today >> e.send(:should_toggle_delta?) # this should be true >> e.save >> e.delta # this should be true >> > > > >>> e = >>> Expense >>> .new >>> :amount=>1, :creator_id=>1, :business_id=>1, :due_date=>Date.today > => #<Expense id: nil, amount: #<BigDecimal:e4c07bd,'1.0',1(4)>, > bank_account_id: nil, title: nil, check_number: nil, created_at: nil, > creator_id: 1, updated_at: nil, updater_id: nil, notes: nil, > business_id: 1, date: nil, expense_category_id: nil, contractor_id: > nil, employee_id: nil, paid_date: nil, is_paid: nil, transfer_fund_id: > nil, payee_id: nil, due_date: "2009-02-16", client_id: nil, > repeater_id: nil, repeated_template: false, bank_statement_id: nil, > delta: false, regex_title: nil, template_name: nil> >>> e.send(:should_toggle_delta?) > => true >>> e.save > => true >>> e.delta > => true > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
