【问题标题】:Error while implementing Solr using solarium使用日光浴室实施 Solr 时出错
【发布时间】:2015-06-12 23:57:22
【问题描述】:

我使用 Windows 中的 Bitnami 安装来安装 solr。当我使用日光浴室 ping 服务器时。

如果使用 var_dump($result->getResponse());然后一切正常,但如果我使用 var_dump($result->getdata());我收到一条错误消息,提示无法对 JSON 进行编码。

同样,当我尝试将数据索引到 solr 服务器时,我得到了这个错误。

Fatal error: Uncaught exception 'Solarium\Exception\HttpException' with message 'Solr HTTP error: OK (405) Error 405 HTTP method POST is not supported by this URL<br> HTTP ERROR 405<br> Problem accessing /solr/admin.html. Reason: <br> HTTP method POST is not supported by this URL<br> Powered by Jetty<br> in C:\xampp\htdocs\trial\search\vendor\solarium\solarium\library\Solarium\Core\Query\Result\Result.php on line 104</p> <p>What can be the possible issue?</p>

【问题讨论】:

    标签: solr solarium


    【解决方案1】:

    Bitnami 开发者在这里

    这似乎是与 Solarium 相关的问题,与 Bitnami Solr 无关。你可以在这里看到问题: https://github.com/solariumphp/solarium/issues/101

    你可以在那里问。

    希望对你有帮助

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-07-08
      • 2016-08-01
      • 2016-03-03
      • 2013-07-04
      • 2016-03-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多