get search results
calculate term frequency