feat: 나만의 레시피 키워드 검색 - #135
Merged
Merged
Conversation
등록한 레시피 목록 조회(GET /recipes/users)에 keyword 를 추가해, 로그인 유저가 자신의 레시피(비공개 포함)를 키워드로 검색할 수 있게 한다. 새 엔드포인트는 만들지 않는다. - keyword 없음 → 기존 그대로 내 레시피 전체(recipeId 역순) - keyword 있음 → 내 레시피 검색: recipe.userId 필터(내 비공개 포함, hiddenYn 미적용), 공개 검색과 동일한 매칭/랭킹(일치율 -> 제목 매칭 우선 -> 최신순) - 내부: 공개 검색 메서드는 그대로 두고 유저 범위 전용 메서드를 분리 신설 (countByKeywordAndUserId, findByKeywordAndUserIdLimitOrderByCreatedAtDesc). 정렬 옵션(scraps/views)은 두지 않아 최신순 메서드만 추가. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
등록한 레시피 목록 조회(GET /recipes/users)에 keyword 를 추가해, 로그인 유저가 자신의 레시피(비공개 포함)를 키워드로 검색할 수 있게 한다. 새 엔드포인트는 만들지 않는다.