Skip to content
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

Feat: Full-text Search를 이용한 다이어리 검색 결과 페이지네이션 #247

Merged
merged 2 commits into from
Oct 21, 2024

Conversation

yumzen
Copy link
Member

@yumzen yumzen commented Oct 21, 2024

#️⃣연관된 이슈

ex) #이슈번호, #이슈번호

📝작업 내용

다이어리 검색(제목/내용) 결과 페이지네이션구현

🔎코드 설명 및 참고 사항

성능 개선을 위해 기존의 LIKE절을 이용한 검색이 아닌 Full-text search 검색으로 구현했습니다!

  1. Querydsl은 MATCH(...) AGAINST(...)를 지원하지 않는다.
  2. MATCH(...) AGAINST(...)는 Boolean이 아닌, Double을 반환한다.
  3. Hibernate의 SQLFunctionTemplate은 더 이상 사용할 수 없다.(deprecated)

세가지 이유로 CustomFunctionContributor 만들었으니 참고부탁드립니다 :)

💬리뷰 요구사항

@yumzen yumzen added the ✨ Feature 기능 개발 label Oct 21, 2024
@yumzen yumzen self-assigned this Oct 21, 2024
@yumzen yumzen merged commit 2561c7f into develop Oct 21, 2024
1 check passed
@yumzen yumzen deleted the feature/#246-diary-search branch October 23, 2024 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Feature 기능 개발
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants