Definition 2 (Relevance of the whole query) Let q be a given query, d be a document and q 1 , ..., q m subqueries of q.
the relevance is defined by the number of portions matched with subqueries in a document.