Rails app: Solr throwing RSolr::Error::Http - 404 Not Found when executing search

后端 未结 7 572
甜味超标
甜味超标 2020-12-13 14:15

Very lost as I haven\'t made any changes to my search which has always been working but somehow I\'ve got a break. Being relatively new to Rails, the error output isn\'t giv

7条回答
  •  轮回少年
    2020-12-13 14:42

    I've been looking forever for the answer to this issue, and to understand why the SOLR Admin page was crashing. Here's the solution for this problem when upgrading sunspot solr from 2.0.0 to 2.1.0:

    Add this entry to your development section of the sunspot.yml: solr_home: solr like the follwoing example ...

    development:
      solr:
        hostname: localhost
        port: 8982
        log_level: INFO
        path: /solr/development
        solr_home: solr
    

提交回复
热议问题