Patent ID: 7209913

Claim:
A method, performed by a search engine, comprising: performing a background routine, during a first amount of time, including: determining tokens that have a predetermined meaning and follow a predetermined format including predetermined keywords predetermined and identifiers to help improve query processing; assigning related expressions to each of the tokens to define each of the tokens; searching documents; identifying occurrences of any of the related expressions for any of the tokens in any of the documents; and indexing each of the documents having at least one of the related expressions for at least one of the tokens, corresponding to the at least one of the tokens; and performing a foreground routine, during a second amount of time substantially less than the first amount of time, including: receiving a search query; identifying at least one token in the search query; finding the at least one token in an index to identify documents having an occurrence of at least one of the related expressions for the at least one token, corresponding to the at least one token; and providing at least one of the documents and the location of the documents.