Make search api changes due to backend search api refactor.