[DP-473] 홈 피드 랭킹 방식 변경 — 관심 태그 우선 노출#167
Merged
Merged
Conversation
content_tags 매핑이 없는 글이 피드에서 탈락하던 문제를 해결. 태그 필터링 대신 CASE WHEN EXISTS 기반 랭킹으로 관심 태그 일치 글을 상단에, 나머지 글을 publishedAt DESC 순으로 하단에 노출.
|
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.



변경 사항
findByTagIdsAndIsAvailableTrue) → 랭킹 쿼리(findAllRankedByTagIds)로 교체publishedAt DESC순으로 하단에 노출근본 원인
ContentPipeline)이 배치(run_backfill_batch.py) 실행 시에만 태그를 붙이고, 수집기(collector) 자동 호출 없음핵심 변경
테스트
ContentServiceTest업데이트: 랭킹 쿼리 호출 검증, 태그 미일치 시에도 전체 글 반환 검증관련 티켓