04 2023 档案
摘要:依赖 <dependency> <groupId>com.amazonaws</groupId> <artifactId>aws-java-sdk-s3</artifactId> <version>1.11.490</version> </dependency> <dependency> <grou
阅读全文
摘要:如果路径含有中划线,将无法取到值 如:$.aa964cf2-bf62-36bd4811.53672-bf62-42906dc.6458b-82c1-3a157e2a 这时候就需要转换下 变成 $['aa964cf2-bf62-36bd4811']['53672-bf62-42906dc']['645
阅读全文
摘要:userList = userList.stream().collect(Collectors.collectingAndThen(Collectors.toCollection(()->new TreeSet<>(Comparator.comparing(User::getCity))), Arr
阅读全文
摘要:后台bean是 private String uName; 但是前端生成的json是 uname 会自动变成小写 如果我们只是个别的几个的话,只需要加个注解 @JsonProperty("uName") private String uName; 这样就可以了
阅读全文
摘要:{"error":{"root_cause":[{"type":"query_phase_execution_exception","reason":"Result window is too large, from + size must be less than or equal to: [10
阅读全文
摘要:Invocation of init method failed; nested exception is ElasticsearchStatusException[Elasticsearch exception [type=search_phase_execution_exception, rea
阅读全文