6. The non-transitory computer-readable medium of claim 5 , including, upon determining that a first query term appears in a first document included in the expanded document and that a second query term appears in a second document included in the expanded document, updating the nearness value with a document size.
5. The non-transitory computer-readable medium of claim 3 , where determining the relevance of the expanded document includes, upon determining that two or more query terms appear in the expanded document, computing a nearness value for the two or more terms.