From 52560f29485a49d646079e05a7cbcb75f251c507 Mon Sep 17 00:00:00 2001 From: Jidong Xiao Date: Fri, 15 Mar 2024 14:02:07 -0400 Subject: [PATCH] adding more questions --- hws/discussions/search_engine.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hws/discussions/search_engine.txt b/hws/discussions/search_engine.txt index 6f66889..8df10b4 100644 --- a/hws/discussions/search_engine.txt +++ b/hws/discussions/search_engine.txt @@ -6,5 +6,6 @@ Discuss the following questions with students around you. 2. Unlike all previous homeworks, in this homework, the output file is not specified from the command line, so how do handle this situation and still print the results into the right output file? 3. During the development of this program, there will be multiple situations when we need to consider the word boundary, what are these situations? +4. After building the inverted index map, for each word, we know which document contains this word; but how do we get the documents which contain all the words of the search query? -4. What shall we do in the main function? +5. What shall we do in the main function?