3
Solr with Rails - rake sunspot:reindex is not working과 비슷한 문제가 있습니다.Solr이 올바르게 다시 색인되지 않음 - Sunspot Solr with Solr 4
bundle exec rake sunspot:solr:start
가 잘 작동하지만 내가 할 때 :
gem 'sunspot_solr', github: 'sunspot/sunspot', branch: 'master'
gem 'sunspot_rails', github: 'sunspot/sunspot', branch: 'master'
그리고 :
내 Gemfile에이이
bundle exec rake sunspot:solr:reindex
를 내가 얻을 :
Connection refused - {:data=>
"<?xml version=\"1.0\" encoding=\"UTF-8\"?><delete><query>type:Service</query></delete>",
:headers=>{"Content-Type"=>"text/xml"}, :method=>:post, :params=>{:wt=>:ruby},
:query=>"wt=ruby", :path=>"update", :uri=>
#<URI::HTTP:0x007fccf982f348 URL:http://localhost:8982/solr/default/update?wt=ruby>,
:open_timeout=>nil, :read_timeout=>nil, :retry_503=>nil,
:retry_after_limit=>nil}
해당 Solr 로그를 검사하여 서버의 문제점을 확인할 수 있습니까? –
Solr 시작시 서버가'tail -f log/sunspot-solr-development.log'에 도달하지 못했습니다 (올바른 로그를보고 있습니다).하지만 다시 인덱스에서 변경되지 않습니다. – juanpastas
'localhost : 8982'는 의도적으로 설계된 것입니까? 기본 포트는'8983'입니까? –