摘要:
1 注解 Retention 使用了注解@Retention的类, RUNTIME 注解信息会加载到JVM中,可以反射性读取,默认是CLASS @Inherited 1、在类继承关系中,子类会继承父类使用的注解中被@Inherited修饰的注解 2、在接口继承关系中,子接口不会继承父接口中的任何注解 阅读全文
2022年6月8日
摘要:
1 spring.factories org.springframework.boot.autoconfigure.EnableAutoConfiguration=package.xxxAutoConfiguration 2 xxxAutoConfiguration @Configurationpu 阅读全文
摘要:
Field datatype string类型 ELasticsearch 5.X之后的字段类型不再支持string,由text或keyword取代 text类型 当一个字段是要被全文搜索的,字段内容会被分析,在生成倒排索引以前,字符串会被分析器分成一个一个词项 keyword类型 keyword类 阅读全文