add Summary class and summarize method in searcher