-
Notifications
You must be signed in to change notification settings - Fork 1
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: 검색 api를 구현한다. #40
Conversation
- 문자열 비교를 통한 검색 기능 구현
booleanBuilder.or(accompanyBoard.title.contains(keyword)); | ||
booleanBuilder.or(accompanyBoard.content.contains(keyword)); |
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.
피그마를 봤는데요, title에서만 찾으면 되지 않나요? content까지 포함하면 너무 slow query가 될 것 같아용
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.
아.. 맞네요
# Conflicts: # src/main/java/com/dnd/accompany/domain/accompany/infrastructure/querydsl/AccompanyBoardRepositoryImpl.java # src/main/java/com/dnd/accompany/domain/accompany/infrastructure/querydsl/interfaces/AccompanyBoardRepositoryCustom.java # src/main/java/com/dnd/accompany/domain/accompany/service/AccompanyBoardService.java
@rlarltj 혹시 content만 없애면 될까요?? title, tag, region에서 검색하고 있는데, 그냥 title만 검색할까요?? tag는 서브쿼리 써야할 것 같고, title이랑 region은 그렇게 느려지진 않을 것 같아요 |
@min429 content만 없애면 될 것 같아요~ |
📄 변경 사항
🤔 고민되는 부분