1. A computer implemented method comprising: receiving, using a processor, a query including a query image; searching a database for a set of images similar to the query image, the searching of the database including using a two-pass search; and providing results of the searching, the results including image members of the set of images similar to the query image.