Thanks Pat! On Thursday, October 31, 2013 4:06:00 PM UTC-5, Pat Allan wrote: > > Ah, if you’re using real-time indices, then ts:index is not the task you > want to be using. Instead… > > When your index definitions change, or you’re on a fresh server: > > rake ts:regenerate > > When you just want to ensure you’ve got the latest data loaded (though > ideally this isn’t something that needs to run often, provided callbacks > are set up to cover situations where your data changes): > > rake ts:generate > > Cheers > > — > Pat > > On 1 Nov 2013, at 3:11 am, Frank Kany <[email protected] <javascript:>> > wrote: > > Hi Pat, > > Here's what I have in app/indices/medical_school_index.rb: > > ThinkingSphinx::Index.define :medical_school, :with => :real_time do > indexes :name > set_property :group_concat_max_len => 1024 > > #explicit group by > group_by :name > end > > Thanks, > > Frank > > On Wednesday, October 30, 2013 4:46:42 PM UTC-5, Pat Allan wrote: >> >> Hi Frank >> >> What do your index definitions look like? I’ve not seen this problem >> before, but something odd’s certainly happening with the index for >> MedicalSchool. >> >> — >> Pat >> >> On 31 Oct 2013, at 3:35 am, Frank Kany <[email protected]> wrote: >> >> After upgrading to thinking-sphinx 3.0.6 gem and Sphinx 2.0.9. When I >> run rake ts:index, I get this error: >> >> ERROR: invalid token in >> /Users/frankkany/railsprojects/chapp/config/development.sphinx.conf line 15 >> col 1. >> FATAL: failed to parse config file >> '/Users/frankkany/railsprojects/chapp/config/development.sphinx.conf' >> >> Any help would be appreciated. Would anyone mind sharing their Rails 3 >> thinking_sphinx.yml and/or their development.sphinx.conf? >> >> Thanks, >> >> Frank >> >> *thinking_sphinx.yml:* >> development: >> mysql41: 9312 >> test: >> mysql41: 9312 >> production: >> mysql41: 9312 >> >> *development.sphinx.conf:* >> indexer >> { >> } >> >> searchd >> { >> listen = 127.0.0.1:9312:mysql41 >> log = /Users/frankkany/railsprojects/chapp/log/development.searchd.log >> query_log = >> /Users/frankkany/railsprojects/chapp/log/development.searchd.query.log >> pid_file = >> /Users/frankkany/railsprojects/chapp/log/development.sphinx.pid >> workers = threads >> binlog_path = >> /Users/frankkany/railsprojects/chapp/tmp/binlog/development >> } >> >> >> /Users/frankkany/railsprojects/chapp/db/sphinx/development/medical_school_core >> >> *Environment:* >> Mac OSX >> Sphinx 2.0.9-release (rel20-r4115) >> Ruby 1.9.3p392 >> MySQL 5.5.29 >> >> *Gems:* >> rails 3.2.8 >> thinking-sphinx 3.0.6 >> mysql2 0.3.13 >> >> -- >> 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] <javascript:>. > To post to this group, send email to [email protected]<javascript:> > . > 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.
