1. A system for processing a query comprising: one or more processors; a memory containing executable instructions which, when executed by the one or more processors, cause the computer system to be configured with an architecture that performs a computer-implemented method which comprises: receiving a query that comprises a plurality of terms including at least a camel case term and a value type term; modifying the camel case term into a constituent term; modifying the value type term into a generic term; converting the query into a modified query modified to have the constituent term at a position corresponding to the camel case term, and modified to have the generic term at a position corresponding to the value type term; based on the modified query identifying one or more documents by proximately matching documents in the knowledge base database having an index that approximately matches the modified query; for each identified document, determining a distance for one or more terms in the modified query; removing from the identified documents any documents which contain any of the one or more terms that have a distance that exceeds a predetermined distance; applying a scoring formula to the identified documents to obtain a score for each of the identified documents, and then ranking the identified documents according to the score obtained for each document; and outputting the ranked documents to a user for selection.