tag:support.flying-sphinx.com,2011-01-05:/discussions/problems/68-rake-error-at-least-one-field-is-necessary-for-an-index Flying Sphinx: Discussion 2018-10-19T03:09:27Z tag:support.flying-sphinx.com,2011-01-05:Comment/11782998 2011-11-30T18:58:53Z 2011-11-30T18:58:54Z Rake error: At least one field is necessary for an index <div><p>Update: I downgraded thinking_sphinx to 1.4.9... Then I get this error when I run the rake tasks:</p> <p>rake aborted!<br> undefined method `indexes' for #&lt;Riddle::Configuration:0x103496d90&gt;</p> <p>So I downgraded riddle to 1.4.0 but then there is a conflict with flying sphinx requiring 1.5.0.</p> <p>So I downgraded flying sphinx to 0.6.0 but then there is a conflict with farady. Omniauth wants &gt; 0.7.3 and flying sphinx wants 0.6.1...</p> <p>Arg, this is getting really frustrating. Why does it feel like I am building a house of cards..?</p></div> Barry tag:support.flying-sphinx.com,2011-01-05:Comment/11782998 2011-12-01T02:20:35Z 2011-12-01T02:20:35Z Rake error: At least one field is necessary for an index <div><p>If you grab flying-sphinx 0.6.1, riddle 1.5.0 and TS 1.4.10, then you should be fine. If I'm wrong, let me know, but I've used that combination myself.</p> <p>I know it's a little frustrating - I changed a method in Riddle, but there's no easy way to specify TS dependencies for FS, because it works with 2.x and 1.x.</p></div> Pat Allan tag:support.flying-sphinx.com,2011-01-05:Comment/11782998 2011-12-01T16:35:10Z 2011-12-01T16:35:10Z Rake error: At least one field is necessary for an index <div><p>That combo gives me a conflict with omniauth on faraday:</p> <p>Bundler could not find compatible versions for gem "faraday":<br> In Gemfile:</p> <pre> <code> omniauth (~&gt; 0.3.2) ruby depends on faraday (~&gt; 0.7.3) ruby flying-sphinx (= 0.6.0) ruby depends on faraday (0.6.1)</code> </pre> <p>From my Gemfile:</p> <h1>sphinx</h1> <p>gem 'riddle', '1.5.0'<br> gem 'thinking-sphinx', '1.4.10'<br> gem 'flying-sphinx', '0.6.0'</p> <h1>omniauth</h1> <p>gem 'omniauth', '~&gt; 0.3.2'</p> <p>I really need to get this sorted out ASAP, thanks!</p> <p>-- Barry</p></div> Barry paul tag:support.flying-sphinx.com,2011-01-05:Comment/11782998 2011-12-02T01:15:12Z 2011-12-02T01:15:12Z Rake error: At least one field is necessary for an index <div><p>Almost right - try flying-sphinx 0.6.1 instead of 0.6.0, that should be friendlier when it comes to faraday requirements.</p></div> Pat Allan tag:support.flying-sphinx.com,2011-01-05:Comment/11782998 2011-12-02T01:39:57Z 2011-12-02T01:39:57Z Rake error: At least one field is necessary for an index <div><p>Sorry I did try that and it installs the gems but I'm back to the<br> original Rake error:</p> <p><strong>Invoke fs:index (first_time)</strong> Invoke environment (first_time) <strong>Execute environment</strong> Execute fs:index Starting Index Request<br> rake aborted!<br> At least one field is necessary for an index<br> /opt/local/lib/ruby/gems/1.8/gems/thinking-sphinx-1.4.10/lib/thinking_sphinx/index/builder.rb:35:in <code>initialize' /opt/local/lib/ruby/gems/1.8/gems/thinking-sphinx-1.4.10/lib/thinking_sphinx/index/builder.rb:22:in</code>new' /opt/local/lib/ruby/gems/1.8/gems/thinking-sphinx-1.4.10/lib/thinking_sphinx/index/builder.rb:22:in <code>generate' /opt/local/lib/ruby/gems/1.8/gems/thinking-sphinx-1.4.10/lib/thinking_sphinx/active_record.rb:208:in</code>add_sphinx_index' /opt/local/lib/ruby/gems/1.8/gems/thinking-sphinx-1.4.10/lib/thinking_sphinx/active_record.rb:175:in <code>define_index' /opt/local/lib/ruby/gems/1.8/gems/thinking-sphinx-1.4.10/lib/thinking_sphinx/active_record.rb:190:in</code>call' /opt/local/lib/ruby/gems/1.8/gems/thinking-sphinx-1.4.10/lib/thinking_sphinx/active_record.rb:190:in <code>define_indexes' /opt/local/lib/ruby/gems/1.8/gems/thinking-sphinx-1.4.10/lib/thinking_sphinx/active_record.rb:189:in</code>each' /opt/local/lib/ruby/gems/1.8/gems/thinking-sphinx-1.4.10/lib/thinking_sphinx/active_record.rb:189:in <code>define_indexes' /opt/local/lib/ruby/gems/1.8/gems/thinking-sphinx-1.4.10/lib/thinking_sphinx/configuration.rb:159:in</code>generate' /opt/local/lib/ruby/gems/1.8/gems/thinking-sphinx-1.4.10/lib/thinking_sphinx/configuration.rb:157:in <code>each' /opt/local/lib/ruby/gems/1.8/gems/thinking-sphinx-1.4.10/lib/thinking_sphinx/configuration.rb:157:in</code>generate' /opt/local/lib/ruby/gems/1.8/gems/flying-sphinx-0.6.1/lib/flying_sphinx/configuration.rb:21:in <code>sphinx_configuration' /opt/local/lib/ruby/gems/1.8/gems/flying-sphinx-0.6.1/lib/flying_sphinx/index_request.rb:70:in</code>update_sphinx_configuration' /opt/local/lib/ruby/gems/1.8/gems/flying-sphinx-0.6.1/lib/flying_sphinx/index_request.rb:32:in <code>update_and_index' /opt/local/lib/ruby/gems/1.8/gems/flying-sphinx-0.6.1/lib/flying_sphinx/tasks.rb:6 /opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:205:in</code>call' /opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:205:in <code>execute' /opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:200:in</code>each' /opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:200:in <code>execute' /opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:158:in</code>invoke_with_call_chain' /opt/local/lib/ruby/1.8/monitor.rb:242:in <code>synchronize' /opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:151:in</code>invoke_with_call_chain' /opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:144:in <code>invoke' /opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:116:in</code>invoke_task' /opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in <code>top_level' /opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in</code>each' /opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in <code>top_level' /opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in</code>standard_exception_handling' /opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:88:in <code>top_level' /opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:66:in</code>run' /opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in <code>standard_exception_handling' /opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:63:in</code>run' /opt/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/bin/rake:33 /opt/local/bin/rake:19:in `load' /opt/local/bin/rake:19</p></div> Barry paul tag:support.flying-sphinx.com,2011-01-05:Comment/11782998 2011-12-02T01:44:34Z 2011-12-02T01:44:34Z Rake error: At least one field is necessary for an index <div><p>Right - what does your define_index block look like? And does it all work fine locally with Thinking Sphinx?</p></div> Pat Allan tag:support.flying-sphinx.com,2011-01-05:Comment/11782998 2011-12-02T01:49:43Z 2011-12-02T01:49:43Z Rake error: At least one field is necessary for an index <div><p>No, same error for ts:index</p> <p>I have had thinking sphinx working with this app before on another<br> server. My define_index is:</p> <p># thinking sphinx indexes define_index do</p> <pre> <code> # fields indexes content, :morphology =&gt; :stem_en # attributes has rank, popularity, open140_question_id has "ISNULL(equivalent_id)", :as =&gt; :is_primary, :type =&gt; :integer set_property :delta =&gt; true</code> </pre> <p>end</p> <p>Thanks for the help,</p> <p>-- Barry</p></div> Barry paul tag:support.flying-sphinx.com,2011-01-05:Comment/11782998 2011-12-02T01:54:19Z 2011-12-02T01:54:19Z Rake error: At least one field is necessary for an index <div><p>All looks fine - although `:morphology' option can't be applied on a per-field basis, so that'll have no impact.</p> <p>What version of Rails are you using? And are you using Bundler to manage dependencies? Or config/environment.rb and .gems?</p></div> Pat Allan tag:support.flying-sphinx.com,2011-01-05:Comment/11782998 2011-12-02T02:04:07Z 2011-12-02T02:04:07Z Rake error: At least one field is necessary for an index <div><p>Rails 2.3.11 with bundler. Here is my Gemfile:</p> <p>source :gemcutter<br> gem "rails", "2.3.11"<br> gem "mysql"</p> <h1>inline attachment for emails</h1> <p>gem 'inline_attachment'</p> <h1>prawn for pdf generation</h1> <p>gem 'prawn'</p> <h1>remit for Amazon FPS</h1> <p>gem 'remit', '~&gt; 0.0.1'</p> <h1>hoptoad</h1> <p>gem 'hoptoad_notifier'</p> <h1>sphinx</h1> <p>gem 'riddle', '1.5.0'<br> gem 'thinking-sphinx', '1.4.10'<br> gem 'flying-sphinx', '0.6.1'</p> <h1>email validation</h1> <p>gem 'validates_email_format_of'</p> <h1>twilio for sms and voice commnuication</h1> <p>gem 'trails'</p> <h1>auth logic</h1> <p>gem 'authlogic', '~&gt; 2.1.6'</p> <h1>omniauth</h1> <p>gem 'omniauth', '~&gt; 0.3.2'<br> gem "tlsmail"<br> gem "haml"<br> gem "ziya"<br> gem "RedCloth"<br> gem "hpricot"<br> gem "rmagick"<br> gem 'prawn'<br> gem "inline_attachment"<br> gem "hoptoad_notifier"<br> gem "rufus-mnemo"<br> gem "trails"<br> gem "thin"<br> gem "aws-s3"<br> gem "pusher"<br> gem "twitter"<br> gem "jammit", :git =&gt; "git://github.com/documentcloud/jammit.git"<br> group :development do<br> gem 'yui-compressor', :git =&gt; "git://github.com/sstephenson/ruby-yui-compressor.git", :require =&gt; "yui/compressor" gem 'closure-compiler' gem 'uglifier' end</p></div> Barry paul tag:support.flying-sphinx.com,2011-01-05:Comment/11782998 2011-12-02T02:07:54Z 2011-12-02T02:07:54Z Rake error: At least one field is necessary for an index <div><p>Can you try switching TS to a git reference instead?</p> <pre> <code>gem 'thinking-sphinx', :git =&gt; 'git://github.com/freelancing-god/thinking-sphinx.git', :ref =&gt; 'e87898bd0f2eebb07cef79698f835c85bcbafc3a'</code> </pre> <p>I had someone recently getting the same issue as you, and it was because of the vendored version of BlankSlate in Rails (though he was using a much older version of Rails, so I'm not yet convinced it's the same problem we're facing). I've just removed the BlankSlate reference from TS 1.x, just haven't released a new version with that change.</p></div> Pat Allan tag:support.flying-sphinx.com,2011-01-05:Comment/11782998 2011-12-02T02:15:07Z 2011-12-02T02:15:07Z Rake error: At least one field is necessary for an index <div><p>That worked!</p> <p>At least locally, I'll deploy and try flying sphinx</p> <p>Thanks,</p> <p>-- BP</p> <p>On 12/1/11 6:07 PM, Pat Allan wrote:</p> <blockquote> <pre> <code> gem 'thinking-sphinx', :git =&gt; 'git://github.com/freelancing-god/thinking-sphinx.git', :ref =&gt; 'e87898bd0f2eebb07cef79698f835c85bcbafc3a'</code> </pre></blockquote> <p>--</p> <p>-- BP</p></div> Barry paul tag:support.flying-sphinx.com,2011-01-05:Comment/11782998 2011-12-02T02:23:34Z 2011-12-02T02:23:34Z Rake error: At least one field is necessary for an index <div><p>Arg, I get an error when trying to deploy to Heroku. When bundler runs I<br> get:</p> <pre> <code> Using thinking-sphinx (1.4.10) from</code> </pre> <p>git://github.com/freelancing-god/thinking-sphinx.git (at e87898b)</p> <pre> <code> Installing flying-sphinx (0.6.1) Installing haml (3.1.4) Installing hoe (2.12.4)</code> </pre> <p> /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/installer.rb:170:in `install': hoe requires RubyGems version &gt;= 1.4. Try 'gem update --system' to update RubyGems itself. (Gem::InstallError)</p> <pre> <code> from</code> </pre> <p> /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/source.rb:95:in `install'</p> <pre> <code> from</code> </pre> <p> /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/installer.rb:55:in `run'</p> <pre> <code> from</code> </pre> <p> /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/spec_set.rb:12:in `each'</p> <pre> <code> from</code> </pre> <p> /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/spec_set.rb:12:in `each'</p> <pre> <code> from</code> </pre> <p> /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/installer.rb:44:in `run'</p> <pre> <code> from</code> </pre> <p> /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/installer.rb:8:in `install'</p> <pre> <code> from</code> </pre> <p> /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/cli.rb:225:in `install'</p> <pre> <code> from</code> </pre> <p> /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/vendor/thor/task.rb:22:in `send'</p> <pre> <code> from</code> </pre> <p> /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/vendor/thor/task.rb:22:in `run'</p> <pre> <code> from</code> </pre> <p> /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'</p> <pre> <code> from</code> </pre> <p> /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/vendor/thor.rb:246:in `dispatch'</p> <pre> <code> from</code> </pre> <p> /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/vendor/thor/base.rb:389:in `start'</p> <pre> <code> from</code> </pre> <p> /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.7/bin/bundle:13</p> <pre> <code> from /usr/ruby1.8.7/bin/bundle:19:in `load' from /usr/ruby1.8.7/bin/bundle:19 FAILED: http://devcenter.heroku.com/articles/bundler</code> </pre> <p>! Heroku push rejected, failed to install gems via Bundler</p> <p>I'll try to add an older version of hoe and see if that fixes it...</p> <p>-- BP</p></div> Barry paul tag:support.flying-sphinx.com,2011-01-05:Comment/11782998 2011-12-02T02:37:06Z 2011-12-02T02:37:08Z Rake error: At least one field is necessary for an index <div><p>That worked! I just added the following hoe dependecy in my Gem file above thinking/flying sphinx:</p> <p>gem 'hoe', '2.5.0'</p> <p>Thanks for the help, should I keep the git ref in my gem file?</p> <p>-- Barry</p></div> Barry tag:support.flying-sphinx.com,2011-01-05:Comment/11782998 2011-12-02T02:44:53Z 2011-12-02T02:44:53Z Rake error: At least one field is necessary for an index <div><p>Great to hear. Not sure what's bringing in the hoe reference - it's certainly none of my code. Gemfile.lock will have that information.</p> <p>But yes, best to stick to the git reference, at least until there's another gem release. Locking to the specific commit reference will keep things stable as well.</p></div> Pat Allan tag:support.flying-sphinx.com,2011-01-05:Comment/11782998 2011-12-02T03:01:54Z 2011-12-02T03:01:54Z Rake error: At least one field is necessary for an index <div><p>FYI. Hoe is definitely coming in with flying sphinx (maybe a dependency<br> of a dependency?). To verify I just removed flying_sphinx (and the hoe<br> reference) from my Gemfile and there is no hoe in my Gemfile.lock. When<br> I add fs back to the Gemfile it reappears and is referenced by 'mash' if<br> that is any help...</p> <p>-- BP</p></div> Barry paul tag:support.flying-sphinx.com,2011-01-05:Comment/11782998 2011-12-02T03:10:39Z 2011-12-02T03:10:39Z Rake error: At least one field is necessary for an index <div><p>Interesting. Thanks for the clarification.</p></div> Pat Allan tag:support.flying-sphinx.com,2011-01-05:Comment/11782998 2011-12-12T00:41:49Z 2011-12-12T00:41:51Z Rake error: At least one field is necessary for an index <div><p>I ran into this same issue but cannot install your commit sha due to my app being rails 3.1.3 it says:</p> <p>Bundler could not find compatible versions for gem "activerecord":<br> In snapshot (Gemfile.lock):</p> <pre> <code>activerecord (3.1.3)</code> </pre> <p>In Gemfile:</p> <pre> <code>thinking-sphinx (&gt;= 0) ruby depends on activerecord (&lt; 3.0.0, &gt;= 1.15.6) ruby</code> </pre> <p>Running <code>bundle update</code> will rebuild your snapshot from scratch, using only<br> the gems in your Gemfile, which may resolve the conflict.</p> <p>[production][~/code/planet-documentary] bundle update Updating git://github.com/freelancing-god/thinking-sphinx.git<br> Updating git://github.com/mbleigh/acts-as-taggable-on.git<br> Fetching source index for <a href= "http://rubygems.org/">http://rubygems.org/</a><br> Bundler could not find compatible versions for gem "activerecord":<br> In Gemfile:</p> <pre> <code>flying-sphinx (= 0.6.1) ruby depends on activerecord (&lt; 3.0.0, &gt;= 1.15.6) ruby rails (~&gt; 3.1.3) ruby depends on activerecord (3.1.3)</code> </pre> <p>But I also have the error about indexes on Riddle in production (but not development)</p></div> Joe Sak tag:support.flying-sphinx.com,2011-01-05:Comment/11782998 2011-12-12T00:47:12Z 2011-12-12T00:47:12Z Rake error: At least one field is necessary for an index <div><p>Hi Joe</p> <p>What does your reference for <code>thinking-sphinx</code> look like in your Gemfile?</p></div> Pat Allan tag:support.flying-sphinx.com,2011-01-05:Comment/11782998 2011-12-12T00:50:40Z 2011-12-12T00:50:41Z Rake error: At least one field is necessary for an index <div><p>Weird</p> <p>Now I see this in the log</p> <p>using config file '/mnt/sphinx/flying-sphinx/d5b836d6d3c11a2f4/sphinx.conf'...<br> indexing index 'documentary_core'...<br> ERROR: index 'documentary_core': sql_range_query: ERROR: syntax error at or near ","<br> LINE 1: ...entaries"."title", "documentaries"."description", , , "docum...</p> <pre> <code> ^</code> </pre> <p>(DSN=pgsql://hzciydhmkw:***@127.0.0.1:10314/hzciydhmkw). total 0 docs, 0 bytes<br> total 0.121 sec, 0 bytes/sec, 0.00 docs/sec<br> skipping non-plain index 'documentary'...<br> total 0 reads, 0.000 sec, 0.0 kb/call avg, 0.0 msec/call avg<br> total 0 writes, 0.000 sec, 0.0 kb/call avg, 0.0 msec/call avg</p> <p>From the index logs</p> <p>It worked in development (ts:index) ... fs:index gave memory allocation error but seemed to run fine in production:</p> <p>[production][~/code/planet-documentary] heroku run rake cron Running rake cron attached to terminal... up, run.7<br> Starting Index Request<br> Index Request has completed.</p></div> Joe Sak tag:support.flying-sphinx.com,2011-01-05:Comment/11782998 2011-12-12T00:55:04Z 2011-12-12T00:55:04Z Rake error: At least one field is necessary for an index <div><p>This is my only configured model:</p> <p>define_index do</p> <pre> <code>indexes title indexes description indexes :tag_list indexes :category_title</code> </pre> <p>end</p> <p>tag_list is a method given by ActsAsTaggableOn<br> category_title is a delegated attribute on the category association</p></div> Joe Sak tag:support.flying-sphinx.com,2011-01-05:Comment/11782998 2011-12-12T00:59:48Z 2011-12-12T00:59:48Z Rake error: At least one field is necessary for an index <div><p>You can only have columns (and columns via associations) in your index definitions - Sphinx talks to your database directly, not through Ruby/Rails, so you'll want to try something like this instead:</p> <pre> <code>define_index do indexes title, description indexes taggings.tag.name, :as =&gt; :tags indexes category.title, :as =&gt; :category_title end</code> </pre></div> Pat Allan tag:support.flying-sphinx.com,2011-01-05:Comment/11782998 2011-12-12T01:08:36Z 2011-12-12T01:08:36Z Rake error: At least one field is necessary for an index <div><p>That did it!</p> <p>Man how awesome that I got such fast support on a Sunday night.</p> <p>Thanks!</p></div> Joseph M Sak tag:support.flying-sphinx.com,2011-01-05:Comment/11782998 2011-12-12T01:11:43Z 2011-12-12T01:11:43Z Rake error: At least one field is necessary for an index <div><p>I don't know if you can help me with my connection error at all, I've submitted a ticket with Heroku Support but the error is this</p> <p>Error Message:<br> Riddle::ConnectionError: Connection to ec2-184-73-20-134.compute-1.amazonaws.com on 9314 failed. Connection refused - connect(2)</p> <p>Where:<br> search#new<br> [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/riddle-1.5.0/lib/riddle/client.rb, line 575</p> <p>URL:<br> <a href= "http://www.planetdocumentary.com/search?utf8=%E2%9C%93&amp;query=cosmos"> http://www.planetdocumentary.com/search?utf8=%E2%9C%93&amp;amp;query=co...</a></p></div> Joseph M Sak tag:support.flying-sphinx.com,2011-01-05:Comment/11782998 2011-12-12T01:14:09Z 2011-12-12T01:14:29Z Rake error: At least one field is necessary for an index <div><p>Hah, well it is just after midday on Monday afternoon here :)</p> <p>As for that error, have you started the daemon now that indexing is working? <code>heroku run rake fs:start</code></p></div> Pat Allan tag:support.flying-sphinx.com,2011-01-05:Comment/11782998 2011-12-12T01:15:32Z 2011-12-12T01:15:32Z Rake error: At least one field is necessary for an index <div><p>Yep! That was it! Whups! Sorry&#8230; I assumed it would happen as either part of the add-on installation or in heroku's deploy hooks (kind of like new relic)</p></div> Joseph M Sak tag:support.flying-sphinx.com,2011-01-05:Comment/11782998 2011-12-12T01:17:01Z 2011-12-12T01:17:01Z Rake error: At least one field is necessary for an index <div><p>So yeah I would update the docs:</p> <p>gem 'thinking-sphinx', '2.0.10'<br> gem 'flying-sphinx', '0.6.1'</p> <p>and</p> <p>heroku run rake fs:start (for heroku addon docs, which seem to be a copy of your main docs) (run is for cedar)</p> <p>Thanks!!</p></div> Joe Sak