diff --git a/src/main/java/com/umc/naoman/domain/photo/elasticsearch/repository/FaceVectorClientRepository.java b/src/main/java/com/umc/naoman/domain/photo/elasticsearch/repository/FaceVectorClientRepository.java index 63f6139..bd10ec7 100644 --- a/src/main/java/com/umc/naoman/domain/photo/elasticsearch/repository/FaceVectorClientRepository.java +++ b/src/main/java/com/umc/naoman/domain/photo/elasticsearch/repository/FaceVectorClientRepository.java @@ -20,7 +20,7 @@ public void deleteFaceVectorsByPhotoName(List photoNameList){ List fieldValuePhotoNameList = photoNameList.stream() .map(FieldValue::of) .toList(); - try{ + try { elasticsearchClient.deleteByQuery(delete -> delete .index("face_vectors") .query(q -> q diff --git a/src/main/java/com/umc/naoman/domain/photo/elasticsearch/repository/SampleFaceVectorClientRepository.java b/src/main/java/com/umc/naoman/domain/photo/elasticsearch/repository/SampleFaceVectorClientRepository.java index 7962b35..3658dfd 100644 --- a/src/main/java/com/umc/naoman/domain/photo/elasticsearch/repository/SampleFaceVectorClientRepository.java +++ b/src/main/java/com/umc/naoman/domain/photo/elasticsearch/repository/SampleFaceVectorClientRepository.java @@ -15,7 +15,7 @@ public class SampleFaceVectorClientRepository { private final ElasticsearchClient elasticsearchClient; public void deleteSampleFaceVectorByMemberId(Long memberId) { - try{ + try { elasticsearchClient.deleteByQuery(d -> d .index("sample_face_vectors") .query(q -> q