There are four messages devoted to search and download.
| Table of contents |
The search request contains a set of words (searched words). The request contains some parameters (fnc, ttl) to control its propagation.
The search response contains a set of document description (hit). Each description is composed of some meta-data of the document (title, publication time, ...), some scores (relevance, popularity) to rank the document and some nodes which can provide the document.
The download request is composed of the id of the document to download, the words that were used by the user to find the document.
The download response contains a description of the document (hit) and the content of the document.