服务器上的弹性搜索配置

时间:2015-03-12 17:12:46

标签: php elasticsearch server

我是弹性搜索的新手,我正在使用elasticsearch和php为我的网站构建搜索引擎。

我想在托管服务器中更新我的项目 一切都在我的localhost(我的电脑)中完美运行,但是当我更新服务器时

  

致命错误:未捕获的异常' Elasticsearch \ Common \ Exceptions \ Curl \ CouldNotConnectToHost'有消息'无法连接到主机'在/home/uhuru372/public_html/unilodb/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/AbstractConnection.php:320
  堆栈跟踪:#0 /home/uhuru372/public_html/unilodb/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/GuzzleConnection.php(313):Elasticsearch \ Connections \ AbstractConnection-> throwCurlException(7,' couldn& #39; t connec ...')
  #1 /home/uhuru372/public_html/unilodb/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/GuzzleConnection.php(200):Elasticsearch \ Connections \ GuzzleConnection-> processCurlError(Object(Guzzle \ Http \ Exception \ CurlException) )
  #2 /home/uhuru372/public_html/unilodb/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/GuzzleConnection.php(104):Elasticsearch \ Connections \ GuzzleConnection-> sendRequest(Object(Guzzle \ Http \ Message \ EntityEnclosingRequest) ,' {"查询":{" bool ...')
  #3 / home / uhuru372 / public_html / unilodb / vendor / in /home/uhuru372/public_html/unilodb/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/AbstractConnection.php on line 320`

0 个答案:

没有答案