【发布时间】:2016-02-16 13:36:17
【问题描述】:
Magento 安装达到 100% 的磁盘使用率。修复这个问题后,Lucene 搜索现在好像下线了。
我无法重建搜索索引,因为我只是遇到了这个错误:
[ssh]$ php shell/lucene-tool.php --removeall 1
Removing all documents from the index...(can be slow)
PHP Fatal error: Uncaught exception 'Zend_Search_Lucene_Exception' with message 'Wrong segments.gen file format' in /html/lib/Zend/Search/Lucene.php:266
Stack trace:
0 /html/lib/Zend/Search/Lucene.php(529): Zend_Search_Lucene::getActualGeneration(Object(Zend_Search_Lucene_Storage_Directory_Filesystem))
1 /html/lib/Zend/Search/Lucene.php(211): Zend_Search_Lucene->__construct('/html...', true)
2 /html/app/code/community/Php4u/BlastLuceneSearch/Model/Blastlucenesearch.php(19) : eval()'d code(1) : eval()'d code(1) : eval()'d code(18): Zend_Search_Lucene::create('/chroot/home/wo...')
3 /html/app/code/community/Php4u/BlastLuceneSearch/Model/Blastlucenesearch.php(19) : eval()'d code(1) : eval()'d code(1) : eval()'d code(18): Php4u_BlastLuceneSearch_Model_BlastLuceneSearch->getIndex()
4 /html/shell/lucene-t in /html/lib/Zend/Search/Lucene.php on line 297
我已经解决了磁盘溢出问题并在整个服务器上运行了权限修复程序。我不确定下一步该采取哪一步。
【问题讨论】:
标签: magento zend-search-lucene