1. A method comprising: determining, by one or more server devices, a plurality of images for a query, one or more images, of the plurality of images, being associated with one or more senses of the query; mapping, by the one or more server devices, the plurality of images into a space by representing the plurality of images with corresponding points in the space; determining, by the one or more server devices, one or more hyperplanes in the space based on the corresponding points in the space, a first hyperplane, of the one or more hyperplanes, being associated with a first sense of the one or more senses, and a second hyperplane, of the one or more hyperplanes, being associated with a second sense of the one or more senses; calculating, by the one or more server devices, one or more scores for the plurality of images based on the corresponding points and the one or more hyperplanes; and ranking the one or more images based on the one or more scores.