3
난 그냥, 내가이 오류를 받고 있어요 내 레일 응용 프로그램과 서버를 시작한 후 태양 흑점 SOLR를 설치
Started GET "/faq/search?search=blueberry" for 143.183.25.73 at 2012-03-22 17:34:27 -0700
Processing by FaqController#search as
Parameters: {"search"=>"blueberry"}
Keyword Load (0.8ms) SELECT distinct(content) FROM `keywords` LIMIT 30
SOLR Request (5.2ms) [ path=#<RSolr::Client:0x000000033c1808> parameters={data: fq=type%3AQuestion&q=blueberry&fl=%2A+score&qf=content_text&defType=dismax&start=0&rows=30, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded; charset=UTF-8"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby, open_timeout: , read_timeout: } ]
Completed 500 Internal Server Error in 35ms
RSolr::Error::Http (RSolr::Error::Http - 404 Not Found
Error: NOT_FOUND
Request Data: "fq=type%3AQuestion&q=blueberry&fl=%2A+score&qf=content_text&defType=dismax&start=0&rows=30"
이 모든 혼란의 원인 코드의 라인 이것입니다 :
# sunspot stuff
@search = Question.search do
fulltext query
end
@questions = @search.results
이 Solr 404 오류를 본 사람이 있습니까? 웹에서 기존의 solr 문제를 검색했지만이 문제를 찾지 못했습니다. 감사.
이 질문에 대한 용서 (작업),하지만 당신은 SOLR 시작? 'bundle sunspot-solr start -p 8983' –
예, 확실히 실행 중입니다. 프로세스가 회전하는 것을 볼 수 있습니다. 내 sphinx.yml 파일에서 8982를 가리키는 개발 포트가 있기 때문에 -p 8982로 시작했습니다. – absolutskyy
은 sphinx.yml입니다. 오타 또는 sphinx에 대해 흑점을 실행하려고합니까? :> –