Fix popular words API response by view count-based retrieval #194
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.
๐ ๊ด๋ จ Issue ๋ฒํธ
closes #193
๐ ์์ ๋ด์ฉ ์์ฝ
๊ธฐ์กด API์ findAll ์ฌ์ฉ์ผ๋ก ์ธํด ๋ง์ด ์ฐพ์๋ณธ ์ฉ์ด ๋ชฉ๋ก ์กฐํ ์ ๋น ๊ฐ์ด ๋ฐํ๋๋ ๋ฌธ์ ๊ฐ ์์์ต๋๋ค.
์ด๋ฅผ ํด๊ฒฐํ๊ธฐ ์ํด
findByViewCount
๋ฉ์๋๋ฅผ ์ถ๊ฐํ์ฌ, viewCount ๋ฅผ ๊ธฐ์ค์ผ๋ก ์ฌ๋ฐ๋ฅด๊ฒ ๋ฐ์ดํฐ๋ฅผ ์กฐํํ๊ณ ,ํด๋น ๋ฐ์ดํฐ๋ฅผ ์ ์์ ์ผ๋ก ๋ฐํํ๋๋ก ์์ ํ์์ต๋๋ค.
๐๐ป ์ฃผ์ ๊น๊ฒ ํ์ธํด์ผ ํ๋ ์ฝ๋
x
๐ ๊ฐ์ ์ฌํญ OR ์ฐธ๊ณ ์ฌํญ
x