Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[refactor] 자동완성기능 like로 검색되지 않는 경우 full text search로 검색 #71

Conversation

Hoya324
Copy link
Member

@Hoya324 Hoya324 commented Aug 19, 2024

✅ 작업 내용

  • 자동완성기능 like로 검색되지 않는 경우 full text search로 검색

🤔 고민 했던 부분

  • full text search로 최대한 해결해보려 했으나 부분 검색의 경우 full text search는 단어를 기반으로 이뤄지기 때문에 문장에 대한 유사도 검사에만 적합함.
  • 자동완성 기능의 경우 하나의 단어으로 검색된 단어를 먼저 찾는 경우가 많기 때문에 Like 함수를 사용하여 자동완성 기능 우선 적용하고, 찾아도 나오지 않는 경우에 한해 full text Search를 사용하도록 변경

Copy link

github-actions bot commented Aug 19, 2024

Unit Test Results

96 tests   96 ✔️  21s ⏱️
17 suites    0 💤
17 files      0

Results for commit ae240e1.

♻️ This comment has been updated with latest results.

Copy link

Code Coverage

There is no coverage information present for the Files changed

Total Project Coverage 68.05% 🍏

@Hoya324 Hoya324 merged commit 86a81a1 into develop Aug 19, 2024
2 checks passed
@Hoya324 Hoya324 deleted the refactor/full-text-search로-검색되지-않는-경우-Like로-검색 branch August 19, 2024 08:21
@Hoya324 Hoya324 added 🎯리팩토링 기존의 기능을 디벨롭한 pr입니다. ✨기능 새로운 기능을 추가합니다. labels Aug 19, 2024
@Hoya324 Hoya324 self-assigned this Aug 19, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
✨기능 새로운 기능을 추가합니다. 🎯리팩토링 기존의 기능을 디벨롭한 pr입니다.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant