上一页 1 ··· 7 8 9 10 11 12 13 14 15 下一页
摘要: Linux格式化数据盘 阅读全文
posted @ 2020-03-30 13:55 荣神益人 阅读(98) 评论(0) 推荐(0) 编辑
摘要: POST /kid_book_v13/kid_book/_mapping { "properties": { "search": { "type": "text", "analyzer": "ik_syno", "search_analyzer": "ik_max_word_xhs", "field 阅读全文
posted @ 2020-03-27 17:59 荣神益人 阅读(729) 评论(0) 推荐(0) 编辑
摘要: 是因为mysql的配置文件中wait_timeout设置得太小,注释掉my.cnf中的wait_timeout和interactive_timeout就好了(注释掉后默认为28800即8小时) 阅读全文
posted @ 2020-03-27 17:36 荣神益人 阅读(2792) 评论(0) 推荐(0) 编辑
摘要: @Configuration public class ElasticSearchClient { @Value("${ElasticSearch.Hosts}") private String hosts; @Value("${ElasticSearch.UserName}") private S 阅读全文
posted @ 2020-03-27 10:47 荣神益人 阅读(8340) 评论(0) 推荐(1) 编辑
摘要: https://blog.csdn.net/qq_37933685/article/details/85100239 阅读全文
posted @ 2020-03-26 18:36 荣神益人 阅读(911) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/u013850277/article/details/88904303 阅读全文
posted @ 2020-03-26 18:04 荣神益人 阅读(1039) 评论(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 荣神益人 阅读(456) 评论(0) 推荐(0) 编辑
摘要: 我希望排序是按id值4, 2, 3, 1排,可以用field函数:select * from 表名 order by field(id,4,2,3,1); 阅读全文
posted @ 2020-03-26 10:27 荣神益人 阅读(1892) 评论(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 荣神益人 阅读(417) 评论(0) 推荐(0) 编辑
摘要: https://mmonit.com/monit/ 阅读全文
posted @ 2020-03-26 09:23 荣神益人 阅读(175) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 下一页