Manisha Tripathy
2008-Dec-24 16:04 UTC
Need help : Rails app unable to connect to Solr server
Hi, I am trying to integrate solr in ruby on rails application.For that i am using the plugin acts_as_solr and gem solr-ruby. My solr server starts successfully with command $ rake solr:start But when I try to add data from $ script/console , it says that it cannot connect to solr server at the corresponding port.Same is the result if i try the browser to link to http://localhost:8982/solr The error is RuntimeError: Couldn''t connect to the Solr server at http://localhost:8982/solr. 404 "Not Found" Can anyone please help me in this. :(( -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
MaurĂcio Linhares
2008-Dec-24 16:05 UTC
Re: Need help : Rails app unable to connect to Solr server
Are you sure that there is a solr server running? - MaurĂcio Linhares http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/ (en) On Wed, Dec 24, 2008 at 1:04 PM, Manisha Tripathy <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Hi, > > I am trying to integrate solr in ruby on rails application.For that i > am using the plugin acts_as_solr and gem solr-ruby. My solr server > starts successfully with command > > $ rake solr:start > > But when I try to add data from $ script/console , it says that it > cannot connect to solr server at the corresponding port.Same is the > result if i try the browser to link to http://localhost:8982/solr > > The error is > > RuntimeError: Couldn''t connect to the Solr server at > http://localhost:8982/solr. > 404 "Not Found" > > Can anyone please help me in this. :(( > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---