摘要:
Linux格式化数据盘 阅读全文
摘要:
POST /kid_book_v13/kid_book/_mapping { "properties": { "search": { "type": "text", "analyzer": "ik_syno", "search_analyzer": "ik_max_word_xhs", "field 阅读全文
摘要:
是因为mysql的配置文件中wait_timeout设置得太小,注释掉my.cnf中的wait_timeout和interactive_timeout就好了(注释掉后默认为28800即8小时) 阅读全文
摘要:
@Configuration public class ElasticSearchClient { @Value("${ElasticSearch.Hosts}") private String hosts; @Value("${ElasticSearch.UserName}") private S 阅读全文
摘要:
https://blog.csdn.net/qq_37933685/article/details/85100239 阅读全文
摘要:
https://blog.csdn.net/u013850277/article/details/88904303 阅读全文
摘要:
需要在mapping中为文本字段加一个keyword类型的fields,比如: POST /viw_my_book/viw_my_book/_mapping { "properties": { "name": { "type": "text", "analyzer": "analyzer_user" 阅读全文
摘要:
我希望排序是按id值4, 2, 3, 1排,可以用field函数:select * from 表名 order by field(id,4,2,3,1); 阅读全文
摘要:
#!/bin/bash /usr/bin/pgrep -x haproxy &> /dev/null if [ $? -ne 0 ]; then /usr/sbin/service haproxy start echo "" | mail -s "监测到haproxy进程不存在,已经重新启动" 邮箱 阅读全文
摘要:
https://mmonit.com/monit/ 阅读全文