【问题标题】:Symfony Elastic UpdateSymfony 弹性更新
【发布时间】:2015-11-15 12:06:48
【问题描述】:

我有 "friendsofsymfony/elastica-bundle": "~3.0" "ruflin/elastica": "~2.1,

Error: Wrong parameters for Exception([string $exception [, long $code [, Exception $previous = NULL]]]) {"type":1,"file":"/home/ivan/host/aog-code /vendor/ruflin/elastica/lib/Elastica/Exception/ResponseException.php"
......
Error: Wrong parameters for Exception([string $exception [, long $code [, Exception $previous = NULL]]])

我尝试找到如何解决这个问题,更新后,找不到。我尝试更新 FOSElasticaBundle 到 dev-master / 3.2.x-dev 但仍然有问题。现在elasticsearch 2.0有解决方案了吗?

【问题讨论】:

    标签: php symfony elasticsearch foselasticabundle


    【解决方案1】:

    我找到了解决方案,在此处描述。

    在您的 composer.json 文件中添加:

    "friendsofsymfony/elastica-bundle": "dev-master",
    "ruflin/elastica": "3.1.1 as 2.99.0"
    

    【讨论】:

    • 我可以验证将其添加到主 composer.json 文件是否有效。我现在收到一条我可以使用的错误消息:-)
    猜你喜欢
    • 2023-03-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-04-05
    • 2016-03-09
    相关资源
    最近更新 更多