Hi Sasha The issue is that Thinking Sphinx's documentation is mostly for v2, but v3 is what you're using (and much better). Index definitions are now located in app/indices - the README is your best source of information (but anything it doesn't cover is probably the same as earlier versions): https://github.com/pat/thinking-sphinx/blob/master/README.textile
Have a read through of that, move your index definition, and you should be good to go. Any further issues, get in touch :) -- Pat On 06/03/2013, at 6:12 PM, Sasha Klein wrote: > Hi, > > Just installed Thinking Sphinx for my Rails app and have run into the above > error. Opened a Stack Overflow post about it, but it doesn't seem to be > getting many views/answers. I'll leave the bulk of my code there, where I > think it's easier to comb through, but just reiterate the basic problem here. > > I installed TS and MySQL (already runny development and production on > postgresql), then defined indexes for my post model, and went to run "rake > ts:index" per the instructions on this Railscast, but I got the error in the > subject line. > > I searched for solutions and ran into this other similar post, but it seems > like we have different root causes, as the result of running > "Post.sphinx_indexes.length" in the console shows. At any rate, all of this > code and some more background is visible in the SO post. > > Any ideas what's going on? If you'd rather I post the code here, I can do > that as well. Just felt redundant. > > -- > 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. > > -- 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.
