Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ private Map<GlobalPubSearchRes, Integer> calculateScoreByIndex(List<GlobalPubSea
return scores;
}

private static List<GlobalPubSearchRes> orderSequence(Map<GlobalPubSearchRes, Integer> scores) {
private List<GlobalPubSearchRes> orderSequence(Map<GlobalPubSearchRes, Integer> scores) {
// 점수를 기준으로 그룹화
Map<Integer, List<GlobalPubSearchRes>> groupedByScore = scores.entrySet().stream()
.collect(Collectors.groupingBy(
Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ spring:
properties:
hibernate:
format_sql: false
query:
plan_cache_max_size: 512 # 캐시 크기 제한 (기본값이 너무 클 수 있음)
plan_parameter_metadata_max_size: 128
dialect: org.hibernate.dialect.MySQL8InnoDBDialect
defer-datasource-initialization: true
sql:
Expand Down
Loading