drmg17928 2015-08-20 10:48
浏览 43
已采纳

如何通过php日光浴防止更新期间的Solr超时

I am new to Solr. I am using the php library solarium to run a huge bundle of updates to a Solr instance. The problem is, that I am receiving a HttpException within my php-script:

Solr HTTP error: HTTP request failed, Operation timed out after 10000 milliseconds with 0 bytes received

I am parsing a CSV-file with about 300,000 datasets and firing them in small bundles. I tried 50-1000. But it always runs into a timeout.

How do I prevent timeouts?

  • 写回答

1条回答 默认 最新

  • donglieshe4692 2015-09-12 10:21
    关注

    The solution for me was to use the BufferedAdd plugin. This prevents timeouts was created for such cases.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥20 西门子S7-Graph,S7-300,梯形图
  • ¥50 用易语言http 访问不了网页
  • ¥50 safari浏览器fetch提交数据后数据丢失问题
  • ¥15 matlab不知道怎么改,求解答!!
  • ¥15 永磁直线电机的电流环pi调不出来
  • ¥15 用stata实现聚类的代码
  • ¥15 请问paddlehub能支持移动端开发吗?在Android studio上该如何部署?
  • ¥20 docker里部署springboot项目,访问不到扬声器
  • ¥15 netty整合springboot之后自动重连失效
  • ¥15 悬赏!微信开发者工具报错,求帮改