add search by topic and rest API