Question: 1. a. Figure 2 shows a simple crawler thread. Discuss how crawler works based on it. (6 Marks) procedure CRAWLERTHREAD(frontier) while not frontier.done() do website

 1. a. Figure 2 shows a simple crawler thread. Discuss how

1. a. Figure 2 shows a simple crawler thread. Discuss how crawler works based on it. (6 Marks) procedure CRAWLERTHREAD(frontier) while not frontier.done() do website frontier.nextSite () url website.nextURL() if website.permitsCrawl (url) then text retrieveURL (url) storedocument (url, text) for each url in parse (text) do frontier.adduRL (url) end for if endier.releasesite (website) end procedure Figure 2 b. What are the information (in bold) given by this sitemap (Figure 3 ) to the crawler? (4 Marks) Figure 3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!