Can't reindex with sunspot / solr in rails app - Error: Severe errors in solr configuration

后端 未结 7 936
我在风中等你
我在风中等你 2021-02-01 10:42

Ok, so I have a simple rails application and now i\'m trying to implement sunspot for search capabilities. However, after I\'ve generated the config file with rails g sunspot_ra

相关标签:
7条回答
  • 2021-02-01 11:28

    it happened to me occasionally.. in my case it was solr (not sunspot) issue

    try to go to

    http://localhost:8982/solr/admin
    
    or http://localhost:8983/solr/admin
    
    or http://[your.domain]:8983/solr/admin
    

    (depending on what environment you use)

    to see what error you have under solr web server

    i saw the java error message and fixed it with just deleting index directory and restarting solr

    and it began to behave as expected

    hope it helped

    0 讨论(0)
提交回复
热议问题