-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: 특수문자 제거 시 분해된 한글이 제거되지 않도록 수정 #757
The head ref may contain hidden characters: "756-\uD2B9\uC218-\uBB38\uC790-\uC81C\uAC70\uC2DC-\uC790\uBAA8-\uBD84\uB9AC\uD55C-\uBC84\uC804\uB3C4-\uC81C\uAC70\uB418\uB294-\uBC84\uADF8"
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
자음, 모음도 정규표현식으로 처리해주신 것 잘 보았습니다
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
나중에 다양한 입력에 대응할 수 있게 테스트를 추가하면 좋을 것 같네요
특수 문자 사용
한글 검색어현재 자모 분리 검색과 초성 검색을 위해 한글 검색어를 분해한 후 DB를 조회하고 있습니다. ex) '파이썬' -> 'ㅍㅏㅇㅣㅆㅓㄴ'
공백을 포함한 검색어full-text를 적용해놓아서 공백이 있는 검색어 입력시 공백 기준으로 검색어를 쪼개어서 검색이 가능합니다. 쪼개진 검색어를 하나라도 포함하고 있으면 검색결과에 걸리는데, 만약 공백을 포함한 검색어 결과가 예상과 다르면 full-text 서치가 동작하지 않는 것일 수도 있습니다. 예외 케이스 검색어그래서 지금까지 파악한 예외 검색어는 다음과 같습니다.
|
추가로, |
오 감사합니다 지금 올린 풀리퀘에 바로 적용해볼게요 |
개요
작업 사항
변경점
목적
스크린샷 (optional)