Ran*_* Ma 10 django solr stop-words django-haystack
我正在尝试使用Django-haystack Beta 2.0.0设置Solr 3.6.0.
运行./manage.py build_solr_schema
schema.xml并将其移动到conf目录后,在访问时http://localhost:8983/solr/admin
,我收到的错误与此线程中生成的错误完全相同.
org.apache.solr.common.SolrException: No cores were created, please check the logs for errors
java.lang.RuntimeException: Can't find resource 'stopwords_en.txt' in classpath or 'solr/./conf/', cwd=/home/randall/startupsearch_live/apache-solr-3.6.0/example
在线程的底部,用户提到必须编辑schema.xml以匹配stopwords_en.txt到/ example/solr/conf /目录,我通过符号链接和编辑stopwords.txt的所有实例来完成.到生成的schema.xml文件中的/solr/conf/stopwords_en.txt.但是,同样的错误仍然存在,输出略有不同:
java.lang.RuntimeException: Can't find resource '/solr/conf/stopwords_en.txt' in classpath or 'solr/./conf/', cwd=/home/randall/startupsearch_live/apache-solr-3.6.0/example
我必须编辑哪个文件才能解决此问题?
归档时间: |
|
查看次数: |
8165 次 |
最近记录: |