PostgreSQL 내장 전문 검색의 가장 큰 문제는 성능이 아니라, 색인을 만들거나 검색할 때 대상 언어를 지정해야 한다는 것. 당연히 언어가 섞여 있으면 제대로 동작 안 하고, 색인하려는 내용이 어떤 언어로 작성되었는지 모를 때도 곤란하다.
그나저나 한국어에서 full-text search의 번역어로 “전문 검색”보다 “풀텍스트 검색”이 더 많이 쓰이는 거 같은 기분이 드는데, 아마도 全文이 專門으로 들려서 그런 게 크려나?
If you have a fediverse account, you can quote this note from your own instance. Search https://hackers.pub/ap/notes/01961db5-cddd-7fb9-8cc7-37ee9235807f on your instance and quote it. (Note that quoting is not supported in Mastodon.)