Refactor: 검색 기능 개선#146
Conversation
…텍스트인덱스 사용을 위한 searchByKeywordNative 메서드 추가
|
Caution Review failedAn error occurred during the review process. Please try again later. """ Walkthrough닉네임 유효성 검사 정규식이 숫자를 허용하도록 변경되었으며, 사용자 가게 검색 API의 파라미터가 "name"에서 "keyword"로 변경되고, 검색 로직이 이름 기반에서 키워드 기반의 MySQL 전문 검색(native query)으로 대체되었습니다. StoreRepository에 커스텀 리포지토리와 관련 구현이 추가되었습니다. Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant StoreController
participant StoreService
participant StoreRepository
Client->>StoreController: GET /stores?keyword=xxx
StoreController->>StoreService: searchByKeywordNative(keyword)
StoreService->>StoreRepository: searchByKeywordNative(keyword)
StoreRepository-->>StoreService: List<Store>
StoreService-->>StoreController: List<StorePageReadDto>
StoreController-->>Client: ResponseEntity
Estimated code review effort3 (~40분) Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
작업 요약
Issue Link
#145
문제점 및 어려움
해결 방안
Reference
Summary by CodeRabbit
신규 기능
버그 수정
기타