摘要:
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 阅读全文