-Add @MultiIndexField annotation and @InnerIndexField annotation, which can be used to specify multiple word splitters in a single field.
-@IndexName annotation adds the refreshPolicy attribute, which can control the function of index refresh strategy in a finer granularity.
-@gl_gaoliang annotation adds the numberOfFragments attribute, and users can customize the number of highlighted fragments returned by search.
-@IndexField adds the ignoreAbove attribute, and users can customize the index content length limit, with the default value of 256.
-@IndexField adds scalingFactor attribute, and users can customize the scaling factor of floating-point number field.
-upgrade Lombok version to latest version 1.18.28.
-Added support for springboot3 and jdk20, so far: springboot1.x3.x, jdk820.
-Fixed the problem that #I7RE3Z:使用@HighLight时,高亮文本内容缺失 highlights were missing highlights.
-Fix #I7P65Z:创建索引时,如果对象含有BigDecimal类型会报错,无论哪种模式! BigDecimal index creation failure.
-Fixed the problem that data migration in smooth mode failed when the setting of #I7SE3K:maxResultWindow设置小于1W后,平滑模式迁移数据失败 maxResultWindow was less than 1W.
-Related documents are updated synchronously.
新增设置minScore方法,可便捷过滤得分低于指定得分阈值的文档
新增设置trackScores方法,可设置查询计算得分
新增设置preference的方法,可设置查询偏好
将bigDecimal默认类型由keyword调整为SCALED_FLOAT
queryString 不再对用户参数进行预处理驼峰及下划线互转等,以用户传入原始数据为准 可杜绝对查询字符串中非字段的误转
groupBy不再指定默认的聚合桶大小,解决部分用户es版本不同时聚合报错问题
调整索引默认托管类型为手动挡,避免新人用户对平滑模式使用和理解不到位出现各种十万个为什么,并同步调整文档指引
修复ISSUE #I7JYHH:selectCount中的distinct为true时出现无限递归缺陷
修复ISSUE #I7JYJR:nd,or,filter,not,or重复嵌套
A new method of setting minScore is added, which can easily filter documents with scores below the specified score threshold.
Add the trackScores method to set the query calculation score.
Add a method of setting preference to set query preference.
Adjust the default type of bigDecimal from keyword to SCALED_FLOAT.
QueryString no longer preprocesses user parameters, such as hump and underline conversion, etc., and takes the original data passed in by the user as the standard, which can prevent the wrong conversion of non-fields in the query string.
GroupBy no longer specifies the default aggregation bucket size, which solves the problem of aggregation error when some users have different es versions.
Adjust the default hosting type of the index to manual, so as to avoid all kinds of 100,000 reasons caused by novice users' improper use and understanding of the smooth mode, and adjust the document guidance simultaneously.
Repair Issue #I7JYHH:selectCount中的distinct为true时出现无限递归缺陷
Repair Issue #I7JYJR:nd,or,filter,not,or重复嵌套
v1.1.1
1.修复在混合查询模式下,用户手count api无效的缺陷。#I66ITR:修复在混合查询模式下,用户手count api无效的缺陷
2.修复分页参数中hasNextPage不正确的缺陷。#I64NJF:翻页对象EsPageInfo中hasNextPage不准确
3.修复仅设置socketTimeOut不设置requestTimeOut等参数时socketTimeOut参数无效的缺陷。#I66IUI:修复仅设置socketTimeOut不设置requestTimeOut等参数时socketTimeOut参数无效的缺陷
4.调整trackTotalSize大于1W条时自动开启的逻辑为用户配置,(配置为开启则开启,配置为关闭则关闭,部分用户反馈自动开启会产生幻觉)
本期主要是一些小缺陷修复和体验优化,后面两个版本将有重大更新
--
v1.1.1
v1.1.0
1.@IndexName注解新增设置max_result_window参数功能
2.调整注解依赖,将注解包独立,便于多模块项目用户使用
3.原PageInfo更名为EsPageInfo,解决与分页插件名称冲突问题
4.调整banner样式,看起来更正式好看
5.调整版本检测日志打印,jar依赖不满足直接打印error级别日志提示用户解决依赖冲突
6.修复1.0.3版本引入的一处avg聚合方法重载缺陷 @郑建建
1.@IndexName Annotation adding setting max_ result_ Window parameter function
Adjust the annotation dependency and make the annotation package independent, which is convenient for users of multi module projects
The original PageInfo was renamed EsPageInfo to resolve the name conflict with the paging plug-in
Adjust the banner style to look more formal and good-looking
Adjust the version detection log printing. If the jar dependency does not meet the requirements, the error level log will prompt the user to resolve the dependency conflict
Fix a overload defect of avg aggregation method introduced in version 1.0.3 @ Zheng Jianjian
v1.0.3
v1.0.2
新特性:
#I5RMXG:新特性 所有CRUD API增加 指定多索引功能 提供的所有CRUD API均支持跨多索引查询
#I5RMY6:增加对嵌套类型中日期字段的format配置支持 嵌套类型增加对日期format的处理
优化:
#I5RMXB:优化 selectCount 自动上下文推断 并提升性能及解决一些覆盖的情况 调整selectCount的获取逻辑为自动上下文推断,提升查询效率,并通过深拷贝解决可能出现的查询条件覆盖问题
#I5QCM8:排序的问题 近期有用户反馈,排序器顺序会影响到查询结果,因此调整所有类型排序器,以用户在wrapper中指定顺序为准
banner增加了作者信息,社区其它几位开发者贡献的日志打印优化,baseEsMapper识别优化等
缺陷修复:
#I5RMWV:手动挡模式下,未指定fieldata为true时会报空指针异常 修复一处手动挡模式下,全自定义时未指定fieldata时产生NPE的问题
New features:
All CRUD APIs provided by #I5RMXG:新特性 所有CRUD API增加 指定多索引功能 support queries across multiple indexes
#I5RMY6:增加对嵌套类型中日期字段的format配置支持 Nested types increase the processing of date format
optimization:
#I5RMXB:优化 selectCount 自动上下文推断 并提升性能及解决一些覆盖的情况 Adjust the acquisition logic of selectCount to automatic context inference, improve query efficiency, and solve possible query condition coverage problems through deep copying
#I5QCM8:排序的问题 According to recent user feedback, the order of the sorter will affect the query results, so adjust all types of sorters, and the order specified by the user in the wrapper shall prevail
Banner adds author information, log printing optimization contributed by several other developers in the community, baseEsMapper identification optimization, etc.
Bug fixes:
#I5RMWV:手动挡模式下,未指定fieldata为true时会报空指针异常 Fix a problem that NPE is generated when fieldata is not specified in full customization in manual mode
v1.0.1
优化
#I5OBPI:IndexUtils, BaseEsMapperImpl打印错误日志有误 日志打印问题优化
#I5PABW:printResponseErrors 对响应结构进行判断,如果有错误,则抛出异常 printResponseErrors 对响应结构进行判断,如果有错误,则抛出异常 dazer007贡献
#I5PABZ:打印DSL时候,同时打印索引名称 打印DSL时候,同时打印索引名称 dazer007贡献
#I5PABR:banner优化,允许系统banner和ee的banner共存 banner优化,允许系统banner和ee的banner共存 dazer007贡献,roin重构优化
#I5P3C9:【共同完善】MySQL和Easy-Es和DSL语法对照表 优化官网MySQL和Easy-Es和DSL语法对照表 dazer007贡献
缺陷修复
#I5OVK4:在同时使用or()和 isNull/notIn,notBetween 时出现不被处理的情况 修复or()和 isNull/notIn,notBetween 时出现不被处理的情况
#I5P2IN:基本数据类型boolean调用insert方法时报错 修复基本数据类型boolean调用insert方法时报错
#I5PAD9:fielddata导致平滑模式下,每次重启都会更新索引 fielddata导致平滑模式下,每次重启都会更新索引
新特性
#I5PAA4:嵌套及父子类型支持自定义注解指定字段类型 嵌套及父子类型支持自定义注解指定字段类型
v1.0.1
optimization
#I5OBPI:IndexUtils, BaseEsMapperImpl打印错误日志有误 log printing problem optimization
#I5PABW:printResponseErrors 对响应结构进行判断,如果有错误,则抛出异常 printResponseErrors Judge the response structure and throw an exception if there is an error contributed by dazer007
#I5PABZ:打印DSL时候,同时打印索引名称 When printing DSL, also print the index name contributed by dazer007
#I5PABR:banner优化,允许系统banner和ee的banner共存 banner optimization, allowing the coexistence of system banner and ee banner dazer007 contribution, roin refactoring and optimization
#I5P3C9:【共同完善】MySQL和Easy-Es和DSL语法对照表 Optimize the official website MySQL, Easy-Es and DSL syntax comparison table dazer007 contribution
bug fix
#I5OVK4:在同时使用or()和 isNull/notIn,notBetween 时出现不被处理的情况 Fix or() and isNull/notIn,notBetween not being processed
#I5P2IN:基本数据类型boolean调用insert方法时报错 Fix the error when calling the insert method of the basic data type boolean
#I5PAD9:fielddata导致平滑模式下,每次重启都会更新索引 fielddata causes the index to be updated every restart in smooth mode
v1.0.0
1.#I5MQ44:删除超过1w条时触发es限制问题 调整删除API底层逻辑为DeleteByQuery,删除效率贼高,且不受删除数据量限制.
2.#I5MQ5B:增强混合查询 增强了混合查询,混合查询支持场景覆盖比之前更广 老汉DMI混动3.0
3.#I5MOKM:无法对多个字段进行sum,max,avg和min进行聚合 增强了聚合,支持同时对多个字段进行sum,max,avg和min进行聚合 由社区开发者郑建建贡献
4.#I5LG4J:@IndexField注解不能设置fielddata,导致初始化索引无法添加fileddata属性,进一步导致多字段聚合查询抛出异常 注解和api提供支持设置字段fielddata,设置后text字段也能使用聚合功能 由社区开发者Roin(花落陌)贡献
5.I5N5UZ 修复两处方法重载缺陷,具体包括聚合类API字段名传字符串和地理位置排序API传字符串时报错
6.细节优化:调整了pom中es依赖版本与es客户端版本不一致时的日志级别为warn(原来是error),官网UI美化及背景图压缩,提升访问速度,调整错别字以及中英文语言切换时不打开新tab页等一系列体验优化.
v1.0.0
1.#I5MQ44:删除超过1w条时触发es限制问题 Adjust the underlying logic of the delete API to DeleteByQuery, the deletion efficiency is very high, and it is not limited by the amount of deleted data.
2.#I5MQ5B:增强混合查询 enhances the hybrid query, and the hybrid query support scene coverage is wider than before. Old man DMI hybrid 3.0
3. #I5MOKM:无法对多个字段进行sum,max,avg和min进行聚合 enhances aggregation, supports sum, max, avg and min aggregation of multiple fields at the same time Contributed by community developer Zheng Jianjian
4. #I5LG4J:@IndexField注解不能设置fielddata,导致初始化索引无法添加fileddata属性,进一步导致多字段聚合查询抛出异常 annotation and api provide support for setting field fielddata, after setting text field can also use aggregation function Contributed by community developer Roin
5. I5N5UZ fixed two method overloading bugs, including the aggregation API field name passing string and the geographic location sorting API when passing a string error
6. Detail optimization: Adjusted the log level to warn when the es dependent version in the pom is inconsistent with the es client version (the original is error), the official website UI beautification and background image compression, improve access speed, adjust typos and when switching between Chinese and English languages A series of experience optimizations such as not opening a new tab page.
1.升级并调整了项目中的依赖至无风险无漏洞版本,经OSCS墨菲扫描依赖风险降低为0,无任何已知漏洞及风险,且经过多轮单测确保兼容性和可用性.(调整前墨菲扫描得分151,超越97%用户,调整值40多分时已超越99%用户,本次调整后最终降至0分,超越100%)
2.增加了对ES客户端版本号及依赖版本号校验,不兼容的版本在项目启动时会根据情况直接告警或强制异常等措施,确保用户都能有最佳的使用体验,避免踩了版本不兼容的坑,此功能由社区开发者Rion大佬贡献
3.对SearchAfter分页增加了from参数的校验和友好提示由社区开发者Rion大佬贡献
v0.9.70
【增强】(I5JQA4) 分布式环境索引托管平滑索引模式终极解决方案 #I5JQA4:分布式环境索引托管平滑索引模式解决方案
【增强】(I5JQAF) 平滑模式索引数据迁移超时解决方案 #I5JQAF:平滑模式索引数据迁移超时解决方案
【优化】(I5JT77 ) 取消了@IndexId中指定value,避免用户踩坑(es中id为_id,常被用户指定为id导致报错),如需改变id命名,直接改该字段名即可.#I5JT77:移除@IndexId中的value,避免用户踩坑
【修复】(#I5G0QN:手动挡,全自定义模式,方法重载问题) 方法重载问题 #I5G0QN:手动挡,全自定义模式,方法重载问题
【修复】( #I5G0RR:嵌套类型中的path驼峰未生效) 嵌套类型中的path驼峰未生效 #I5G0RR:嵌套类型中的path驼峰未生效
【修复】(I5H1QS) 默认max_windows_size导致selectBatchIds查询数据只有10条 #I5H1QS:默认max_windows_size导致selectBatchIds查询数据只有10条
【修复】(I5HSH0) 默认max_windows_size导致根据条件更新时只能更新10条 #I5HSH0:修复根据条件更新时,只能更新默认max_windows_size的数据
【修复】(I5J86T) @HighLight高亮注解不配合@IndexField注解使用时产生的NPE问题 #I5J86T:添加高亮注解@HighLight,添加报错
【修复】(I5JQ9O)同时使用or()+must_not条件时,会导致or()不生效问题 #I5JQ9O:同时使用or()+must_not条件时,会导致or()不生效问题
【新特性】(I5JQC9)新增SearchAfter分页方式,解决大数据量场景下的分页问题 由社区新晋开发者Roin贡献 #I5JQC9:新增SearchAfter分页,解决大数据量场景下的分页问题
[Enhanced] (I5JQA4) The ultimate solution for distributed environment index hosting smooth index mode #I5JQA4:分布式环境索引托管平滑索引模式解决方案
[Enhanced] (I5JQAF) Smooth mode index data migration timeout solution #I5JQAF:平滑模式索引数据迁移超时解决方案
[Optimization] (I5JT77) The value specified in @IndexId has been cancelled to prevent users from stepping on the pit (the id in es is _id, which is often designated as the id by the user, resulting in an error report). If you need to change the id name, you can directly change the field name. #I5JT77:移除@IndexId中的value,避免用户踩坑
Fix Method overloading problem #I5G0QN:手动挡,全自定义模式,方法重载问题
Fix The hump of path in nested type does not take effect #I5G0RR:嵌套类型中的path驼峰未生效
[Fix] (I5H1QS) The default max_windows_size results in only 10 query data in selectBatchIds #I5H1QS:默认max_windows_size导致selectBatchIds查询数据只有10条
[Fix] (I5HSH0) The default max_windows_size results in only 10 updates when updating according to conditions #I5HSH0:修复根据条件更新时,只能更新默认max_windows_size的数据
[Fix] (I5J86T) NPE problem when @gl_gaoliang highlight annotation is not used with @IndexField annotation #I5J86T:添加高亮注解@HighLight,添加报错
[Fix] (I5JQ9O) When using or()+must_not condition at the same time, or() will not take effect #I5JQ9O:同时使用or()+must_not条件时,会导致or()不生效问题
[New feature] (I5JQC9) Added SearchAfter paging method to solve the paging problem in large data volume scenarios Contributed by Roin, a new developer in the community #I5JQC9:新增SearchAfter分页,解决大数据量场景下的分页问题
v0.9.60
1.紧急修复1处0.9.40引入的缺陷,非必现,仅在不配置父子文档的情况下使用自动挡启动项目会报NPE(修复时间2小时内,发现即修复)
2.升级fastjson由1.2.79至1.2.83最新版
近期正在做全面压测和单测,即将上线1.0稳定版
v0.9.50
1.调整注解名称@TableName->@IndexName,@TableId->@IndexId,@TableField->@IndexField
2.增加对keyword_text类型字段的分词器指定功能
3.修复1处geoShape不能通过shapeId检索的缺陷
4.上线全新版官网
v0.9.40
1.高亮增加了fragmentSize设置功能
2.紧急修复1处selectOne方法因重构引入的缺陷
v0.9.40