-
Notifications
You must be signed in to change notification settings - Fork 1
[BUILD FAIL] [BUILD FAIL] Feature/137 봉사활동 모집글, 커뮤니티 게시글 검색 조회 (elastic search) #213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- keyword로 검색 결과 반환 - elasticsearch에 저장 - 전체 데이터 조회 - elasticsearch 데이터 삭제
- elasticsearch 저장 - elasticsearch 키워드 검색 - 전체글 조회
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
빌드에 실패했습니다.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
빌드에 실패했습니다.
|
|
||
|
|
||
| @Scheduled(cron = "10 * * * * *") | ||
| public void updateCommunityBoardDocuments() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
간격이 타이트 한 것 같습니다 제 생각엔 데이터 최신화를 위한 스케줄러 같은데 맞나요?
맞다면 getAll Community Boards라 부하가 클 거 같다는 생각이 듭니다
새벽에 한번 최신화를 시키고 사이에 벌어지는 업데이트들은
logstash로 저희 RDB를 체크하는게 어떨까요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
넵! 자정으로 수정하겠습니다
| private final RecruitBoardDocumentUseCase recruitBoardDocumentUseCase; | ||
|
|
||
| @Scheduled(cron = "10 * * * * *") | ||
| public void updateRecruitBoardDocuments() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
여기도 간격이 타이트 한 것 같습니다!
스케줄러는 일 단위로 작동시키고 그 사이의 데이터 업데이트는 LogStash로 체크하는게 좋을것 같아요
leebs0521
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다,...
| @Configuration | ||
| public class ElasticsearchConfig extends ElasticsearchConfiguration { | ||
| @Value("${elastic.search.uris}") | ||
| private String uri; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uris 리스트인가요? 아니라면 url가 더 나은것 같습니다.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수정했습니다!
| bucket: somemore | ||
| base-url: https://somemore-image.s3.ap-northeast-2.amazonaws.com | ||
| base-url: https://somemore-images.s3.ap-northeast-2.amazonaws.com/ | ||
| stack: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이거 바뀐 이유가 있나요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
엇 그러게요...?
env 수정하다가 잘못 수정했나봐요
다시 수정하겠습니다
📌 과제 설명
👩💻 요구 사항과 구현 내용
✅ PR 포인트 & 궁금한 점