Hmm, okay. What version of Rails are you using, and what's the output of the following:
e = Expense.new :amount=>1, :creator_id=>1, :business_id=>1 e.due_date = Date.today e.save e.send(:should_toggle_delta?) Expense.index_delta(e) client = Riddle::Client.new "localhost", 11002 client.query "", "expense_delta" Cheers -- Pat On 12/02/2009, at 12:20 AM, Steven Bristol wrote: > > On Wed, Feb 11, 2009 at 12:04 AM, Pat Allan <p...@freelancing- > gods.com> wrote: >> >> No worries... (although it wasn't so much a holiday - at least part >> of >> the time - more working-from-Cambodia). >> >> So, we're not seeing the output of the delta task (just to confirm: >> you're using the default delta approach, yeah?)... to check whether >> there's path issues, what's the output of the following in script/ >> console: >> `indexer` >> >> If that complains about missing args, path is fine. If it complains >> that it doesn't know about the executable indexer, then it's a path >> problem. >> >> Cheers >> >> -- >> Pat >> > > > Yes, the default delta approach. (AFAIK, I'm only aware of one delta > approach.) Here is my define: > define_index do > indexes amount, title, check_number, notes, business_id > indexes [client.name, client.company_name], :as=>:client_name > indexes [payee.name, payee.company_name], :as=>:payee_name > indexes [employee.name, employee.company_name], :as=>:employee_name > indexes [contractor.name, > contractor.company_name], :as=>:contractor_name > indexes expense_category.name, :as=>:expense_category_name > where "repeated_template = false" > set_property :delta => true > set_property :enable_star => true > set_property :morphology => 'none' > end > It complained about missing args. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
