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.
배경
작업 내용
작업 결과
한계
LIKE 연산자 사용하는 쿼리는
LIMIT 0, 25
조건 있기 때문에 처음으로 일치하는 25개의 결과를 찾으면 즉시 쿼리 실행을 중단하기 때문에 빠름FULLTEXT
인덱스를 사용하는 쿼리는 일치하는 모든 결과를 찾은 다음, 이를 관련성 점수별로 정렬해야해서 오래 걸림