1. A method comprising: receiving, by one or more processors, a query image; obtaining, by the one or more processors and based on the query image, a set of ordered search results identifying one or more web pages that each include an image that is a near-duplicate of the query image, the search results being ordered in a first arrangement in which one of the search results that identifies a web page that includes a near-duplicate image is at a set position; obtaining, by the one or more processors, text labels for the query image; comparing, by the one or more processors, one or more of the text labels to text of a web page identified by one of the search results; determining, based on the comparison and by the one or more processors, that the text of the web page identified by the one of the search results matches at least one of the text labels for the query image; and re-ordering, based on the determination, the set of ordered search results into a second arrangement in which the one of the search results is at a higher position than the set position.