Failed to add documents to Solr: [Reason: Error 404 Not Found]

后端 未结 1 1547
北海茫月
北海茫月 2021-01-14 16:59

I\'m trying to index a model in Solr with django-haystack, but it returns me the following error(when using rebuild_index or update_index) :

Failed to add do         


        
相关标签:
1条回答
  • 2021-01-14 17:53

    As specified in settings docs you need to specify the url to your core. Seems like you've missed the core in your URL. You need to create a core and the url should look like this:

    'URL': 'http://localhost:9001/solr/default',
    
    0 讨论(0)
提交回复
热议问题