I got solr running with my RoR app using my own solr server...  Next I
tried moving the system to Heroku.  I thought it would be trivial -
and the move indeed was - but it doesn't work: I don't get any result
records.

In mymodel.rb I have
     acts_as_solr :fields =>  [:name1, :desc1, :name2, :name3, :name4]

But when I do this from the console I should find 5 result rows, not
zero:
   >> Mymodel.find_by_solr 'automotive'
   => #<ActsAsSolr::SearchResults:0x2ae4ee585388
@solr_data={:docs=>[], :total=>0}>

Any suggestions about how to debug this?  Can I check which fields are
indexed and being searched?  Do I need to do a rake solr:reindex, or
is that handled by Heroku?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" 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/heroku?hl=en.

Reply via email to