[#134] Refactoring SearchService.