1. A method of organizing a database of N objects, wherein the database is stored on a computer, for facilitating searching the database with a query object, the method comprising: selecting K key objects from the database that differ from one another in their respective values of some property field and wherein K is less than N; calculating a minimal metric distance between the field associated with each of said K key objects and the respective field associated with every other object in said database; and storing in said database, for each of said K key objects, an ordered list of each database object and its minimal metric distance from said key object, wherein each of said objects is a molecule, wherein each of said fields is fitted by an ellipsoidal Gaussian representation, and wherein at least the calculating is carried out on the computer.