摘要: https://blog.csdn.net/qq_37933685/article/details/85100239 阅读全文
posted @ 2020-03-26 18:36 荣神益人 阅读(920) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/u013850277/article/details/88904303 阅读全文
posted @ 2020-03-26 18:04 荣神益人 阅读(1046) 评论(0) 推荐(0)
摘要: 需要在mapping中为文本字段加一个keyword类型的fields,比如: POST /viw_my_book/viw_my_book/_mapping { "properties": { "name": { "type": "text", "analyzer": "analyzer_user" 阅读全文
posted @ 2020-03-26 15:20 荣神益人 阅读(464) 评论(0) 推荐(0)
摘要: 我希望排序是按id值4, 2, 3, 1排,可以用field函数:select * from 表名 order by field(id,4,2,3,1); 阅读全文
posted @ 2020-03-26 10:27 荣神益人 阅读(1910) 评论(0) 推荐(0)
摘要: #!/bin/bash /usr/bin/pgrep -x haproxy &> /dev/null if [ $? -ne 0 ]; then /usr/sbin/service haproxy start echo "" | mail -s "监测到haproxy进程不存在,已经重新启动" 邮箱 阅读全文
posted @ 2020-03-26 09:38 荣神益人 阅读(427) 评论(0) 推荐(0)
摘要: https://mmonit.com/monit/ 阅读全文
posted @ 2020-03-26 09:23 荣神益人 阅读(179) 评论(0) 推荐(0)