1. A method, comprising: searching for resources in response to a search query with multiple search terms; retrieving search term position information for each resource; generating a proximity feature value based on the search term position information; and ranking the resources based on the proximity feature value.