10. The article of claim 8 , further comprising instructions that if executed enable the system to extract the search term position information from each resource to retrieve the search term position information.
8. An article comprising a storage medium containing instructions that if executed by a processor, cause the processor to: search for resources in response to a search query with multiple a number of search terms; retrieve search term position information for each resource; generate a proximity feature value based on the search term position information using an unordered cost function, wherein the unordered cost function does not require search terms to be in the same order as in the search query and wherein the unordered cost function is proportional to a number of different search terms in a chunk of the resource and inversely proportional to a length of the chunk and the number of search terms in the search query; and rank the resources based on the proximity feature value.