1. A computer-implemented method for searching documents comprising: receiving a query having at least one query number q i but not necessarily specifying an attribute name or unit for the query number; for at least one document, matching each number q i with a document number n m, each document number being a number contained in the document, such that a distance score is minimized; and based on the distance scores, returning at least one document in response to the query.