Mini-Google
Internal documentation
Searcher
- Scope
- From a list of words, it builds the list of URL Identifiers which are related with all these words and print them sorted to the standard output following the CGI interface.
- Interface
-
- Reads a list of words from the HTML form.
- For each word, it obtains the word-identifier by sending the message to the Lexicon :
GET _word_string_
and receives the message :
WID _wid_
- For each word identifier, it obtains the list of relared URL identifiers by sending to the Sorter the message :
GET _wid_
and it receives the message :
WRD _wid_ _size_ _urlid1_ _hit1_ ... _urlidn_ _hitn_
|_________________________________|
_size_
- For the graph obtained, it sends to the HITS server
the message :
URL _urlid1_ ... _urlidn_
and it receives the message containing the sorted list of pages to be printed :
RES _urlid1_ ... _urlidn_
- File giving the server sockets of the servers it should contact :