【问题标题】:Cakephp 3 elasticsearch issueCakephp 3弹性搜索问题
【发布时间】:2017-07-04 13:01:19
【问题描述】:

我已经在 cakephp 3 上安装了 elasticsearch,正如这里所说的 https://book.cakephp.org/3.0/en/elasticsearch.html。 但我收到一个错误

错误:异常参数错误([string $exception [, long $code [, Exception $previous = NULL]]]) 文件 /vendor/ruflin/elastica/lib/Elastica/Exception/ResponseException.php 线路:34 Elasticsearch 版本 -> 5.0 和 PHP 版本 -> 5.6.30

如果有人知道解决方案,请帮助我。

【问题讨论】:

    标签: cakephp elasticsearch cakephp-3.0


    【解决方案1】:

    目前还没有适用于 Elastica 5.x 的稳定版本:

    https://github.com/cakephp/elastic-search/issues/116

    1.0 分支据说在某种程度上兼容 5.x,所以如果您想冒险,请尝试使用 cakephp/elastic-search:1.0.x-dev

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-01-14
      • 2016-05-23
      • 2021-08-16
      相关资源
      最近更新 更多