Add search for topic function.