1. In a computer system, a method for performing a search of a set of electronic documents comprising: accessing data that correlates a plurality of character patterns in the set of electronic documents with relative displacement of the plurality of character patterns in the document; defining a tag to search the set of electronic documents; defining a set of one or more context rules to be associated with the tag, the set of context rules to specify relative displacement of a subset of the plurality of character patterns in the set of electronic documents; searching the set of electronic documents based on the set of context rules; upon searching the document, creating a link based on the context and the relative displacement of the predetermined pattern; and displaying the link as a hotspot.