Added missing docblock comments to Search service, fixed return and param types