Replaced our slow research logic by PostgreSQL full-text search (#994)