摘要: 这里有个问题,父进程退出了,子进程还没退出。解决方案是在RunChild中调用: 可以查看下man 2 prctl。 https://stackoverflow.com/questions/284325/how-to-make-child-process-die-after-parent-exits 阅读全文
posted @ 2018-10-19 15:20 linyx 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 目前有用到的用法如下: 通过from+size来实现分页,但是有个限制,from+size不能超过index.max_result_window。 https://www.elastic.co/guide/en/elasticsearch/reference/current/search-reque 阅读全文
posted @ 2018-10-19 11:33 linyx 阅读(932) 评论(0) 推荐(0) 编辑