Apache Solr搜索索引问题

时间:2010-09-10 22:36:38

标签: 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 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模块中的那些。

有人可以给我建议吗,我该怎么检查?

此致

1 个答案:

答案 0 :(得分:0)

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

尝试为文件/文件夹等设置775,我想在/ admin / reports / status你会看到很多关于错误配置的权限的警告。

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