上一页 1 2 3 4 5 6 7 8 9 ··· 65 下一页
摘要: {"error":{"root_cause":[{"type":"query_phase_execution_exception","reason":"Result window is too large, from + size must be less than or equal to: [10 阅读全文
posted @ 2023-04-03 10:30 yvioo 阅读(75) 评论(0) 推荐(0) 编辑
摘要: Invocation of init method failed; nested exception is ElasticsearchStatusException[Elasticsearch exception [type=search_phase_execution_exception, rea 阅读全文
posted @ 2023-04-03 10:22 yvioo 阅读(302) 评论(0) 推荐(0) 编辑
摘要: java.io.IOException: listener timeout after waiting for [30000] ms at org.elasticsearch.client.RestClient$SyncResponseListener.get(RestClient.java:905 阅读全文
posted @ 2023-03-31 20:10 yvioo 阅读(512) 评论(0) 推荐(0) 编辑
摘要: ApplicationContext.publishEvent 是Spring提供的解耦的一种方式 (基于内存)。同样可以使用 MQ 组件 / 线程池 代替。 参数类 NotifyEvent.java import lombok.AllArgsConstructor; import lombok.D 阅读全文
posted @ 2023-03-28 14:06 yvioo 阅读(473) 评论(0) 推荐(0) 编辑
摘要: 标题 # 一级标题 ## 二级标题 ### 三级标题 备注:一个#代表一级标题,2个#代表二级标题,依次类推支持6级标题,切记#和文字之间有个空格 字体 加粗 内容左右各两个* **我是加粗字体** 斜体 内容左右各一个* *我是斜体* 斜体和加粗 内容左右3个* ***我是加粗的斜体内容*** 删 阅读全文
posted @ 2023-03-24 16:17 yvioo 阅读(38) 评论(0) 推荐(0) 编辑
摘要: 没有的话就引入依赖 <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>2.10.1</version> </dependency> 阅读全文
posted @ 2023-03-23 09:45 yvioo 阅读(353) 评论(0) 推荐(0) 编辑
摘要: List<JsonDTO> jsonDTOList = gson.fromJson(jsonStr, new TypeToken<List<JsonDTO>>() { }.getType()); JsonDTO:要转换的集合的对象 jsonStr:要转换的json字符串 阅读全文
posted @ 2023-03-15 17:30 yvioo 阅读(546) 评论(0) 推荐(0) 编辑
摘要: /** * 获取的占位符内容:现在是{} * @param str 模板数据 * @return */ public static List<String> getTemplatePlaceholder(String str) { String pattern = "\\{([^}]*)\\}"; 阅读全文
posted @ 2023-03-02 16:51 yvioo 阅读(278) 评论(0) 推荐(1) 编辑
摘要: select setval('序列名字 ', 当前的值); 阅读全文
posted @ 2023-02-24 17:40 yvioo 阅读(71) 评论(0) 推荐(0) 编辑
摘要: xml: <dependency> <groupId>dom4j</groupId> <artifactId>dom4j</artifactId> <version>1.6.1</version> </dependency> 工具类 XmlUtil.java import java.util.Lis 阅读全文
posted @ 2023-02-20 15:03 yvioo 阅读(933) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 65 下一页