摘要:
【ElasticSearch】异常错误 1、磁盘满了造成 Elasticsearch 成为只读 2、index.highlight.max_analyzed_offset 3、CentOS8 docker 换成了 podman 4、达到最大分分片书 this cluster currently ha 阅读全文
摘要:
【Ubuntu 18.04.03_64】系统配置 1、常用设置 1、常用设置 修改 vi 上下左右 是字母的问题 export TERM=linux 阅读全文
摘要:
【MySql】语法学习 1、join 链接 1、join 链接 官方文档:https://dev.mysql.com/doc/refman/8.0/en/join.html table_references: escaped_table_reference [, escaped_table_refe 阅读全文
摘要:
【ElasticSearch】聚合 1、基本聚合 2、统计null值 1、基本聚合 SearchSourceBuilder searchSourceBuilder = new SearchSourceBuilder(); searchSourceBuilder.size(0); TermsAggre 阅读全文
摘要:
【Spring Boot】Spring Security登陆异常出路 Security 配置 package cn.young.greenhome.config; import cn.young.greenhome.module.auth.UserDetailsServiceImpl; import 阅读全文
摘要:
【ElasticSearch】查询使用学习 1、条件统计件数 1、条件统计件数 { "size": 0, "query": { "bool": { "must": [ { "term": { "id": { "value": "100001" } } }, { "term": { "name": { 阅读全文
摘要:
a frame because it set 'X-Frame-Options' to 'deny' 在spring security配置的位置添加 http.headers().frameOptions().disable(); protected void configure(HttpSecur 阅读全文
摘要:
【Thymeleaf】使用学习 javacc、antlr、jflex 使用 attoparser 解析 https://www.attoparser.org/ 1、spring boot 整合 Thymeleaf 2、spring security 使用 3、文本语法,没有 html 标签 4、标签 阅读全文
摘要:
【MySql】日期时间 1、查询条件 2、常用函数 3、整数转日期 4、日期函数 有 datetime 类型字段 publish_time 1、查询条件 库中存储 2004-02-04 格式 where DATE(publish_time) = '2004-02-04' 库中存储 08:08:08 阅读全文
摘要:
【Spring Boot】整合MyBatis 配置 server: port: 9915 # 数据库 相关设置 spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://mysql.ycx:33 阅读全文