Switched search implementation to server-side implementation.