Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
❤️ 기능 설명
Elasticsearch 인덱싱 실패 시에도 DB의
embedded_at필드가 업데이트되는 문제를 해결했습니다.주요 변경사항
PostEmbeddingWriter 개선
ElasticsearchOperations.bulkIndex()→ElasticsearchClient.bulk()직접 사용BulkResponse.errors()및item.error()체크로 실패한 문서 명확히 식별embeddedAt업데이트PostDocument 직렬화 문제 해결
getPublishedAt()메서드에@JsonIgnore추가LocalDateTime직렬화 시도하던 문제 해결publishedAtString필드는 정상적으로 ES에 저장됨PostEmbeddingReader 페이징 제거
PageRequest.of(0, 1000)에서List<Post>전체 조회로 변경findBySummaryIsNotNullAndEmbeddedAtIsNull()메서드 추가ContentChunkerService 최적화
swagger 테스트 성공 결과 스크린샷 첨부
연결된 issue
연결된 issue를 자동으로 닫기 위해 아래 {이슈넘버}를 입력해주세요.
close #236
✅ 체크리스트