Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/solr/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Drupal 6 ApacheSolr搜索索引问题_Drupal 6_Solr_Drupal Search - Fatal编程技术网

Drupal 6 ApacheSolr搜索索引问题

Drupal 6 ApacheSolr搜索索引问题,drupal-6,solr,drupal-search,Drupal 6,Solr,Drupal Search,我已安装Apache Solr并手动运行了2次cron,但我有一个问题,0%已发送到服务器: The search index is generated by running cron. 0% of the site content has been sent to the server. There are 2884 items left to send. Using schema.xml version: drupal-1.1 The server has a 2 min. delay b

我已安装Apache Solr并手动运行了2次cron,但我有一个问题,0%已发送到服务器:

The search index is generated by running cron. 0% of the site content has been sent to the server. There are 2884 items left to send.

Using schema.xml version: drupal-1.1
The server has a 2 min. delay before updates are processed.

Number of documents in index: 220

Number of pending deletions: 0
所有消息似乎都正常:

* Apache Solr: Your site has contacted the Apache Solr server.
* Apache Solr PHP Client Library: Correct version "Revision: 22".
我将/solr/example/solr/conf中的solrconfig.xml和schema.xml替换为Apache solr Drupal模块中的solrconfig.xml和schema.xml

有人能给我一些建议吗?我应该检查什么


我刚刚解决了同样的问题。问题在于sites/default/files文件夹和文件夹权限

尝试为文件/文件夹等设置775,我猜在/admin/reports/status上,您会看到许多错误配置的烫发警告

解决这些问题后,solr会正确地索引内容