douqin2108 2018-10-03 09:16
浏览 98
已采纳

狮身人面像 - 增加最大结果

I have a problem with Sphinx 2.2.11, I have a large indexes, when I set a limit greather than 13 elements, I don't receive any results. I think that the problem is due to a limit on packet size. I have just inserted in my sphinx.conf file the properties max_packet_size and mem_limit, but it still doesn't work even if I set limit to 14 elements. So how can I resolve it?

UPDATE

Here my configuration: sphinx.conf

  • 写回答

1条回答 默认 最新

  • doujianwan7570 2018-10-11 15:10
    关注

    The problem was that after get the results from sphinx, I converted them from array to object with the trick: json_decode(json_encode($results)) and this caused an out of memory of the server.

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

报告相同问题?

悬赏问题

  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!
  • ¥15 drone 推送镜像时候 purge: true 推送完毕后没有删除对应的镜像,手动拷贝到服务器执行结果正确在样才能让指令自动执行成功删除对应镜像,如何解决?