1. A system of retrieving documents comprising the steps of: coding a plurality of stored documents as respective document feature vector; generating a query feature vector based on a query document; and performing one or more logical operations between the query feature vector and said document feature vector to obtain respective similarity measures.