偶尔,我会收到来自客户服务器的异常邮件,告诉我SOLR出了问题:
Uncaught exception 'Apache_Solr_HttpTransportException' with message ''0' Status: Communication Error' in C:'xxxxxxxxx'php'Apache'Solr'Service.php:338
或
Uncaught exception 'Apache_Solr_HttpTransportException' with message ''404' Status: Not Found' in C:'xxxxxxxxx'php'Apache'Solr'Service.php:338
很遗憾,我们无法访问这台机器。我们得到的只是那些由他们的系统触发的异常邮件。
不管它是一个windows服务器,这些消息的原因是什么?我预计404意味着存在连接中断,但0呢?
提前感谢!
IMHO,由于没有建立连接,因此没有执行http操作,因此您得到"0"。0应为默认值。