A comparison of community search with community detection