Patent ID: 8756244

Claim:
A method implemented in a computer-readable storage medium and processed by a processor to perform the method, comprising: detecting, via the processor, an action against a search query: gathering, via the processor, contextual information for the search query in response to the action and identifying the contextual information as: a service identifier for a service where the action was initiated, a user identifier for a user that is performing the action, an action identifier for identifying the action to be taken, and a date and time for when the action was detected; augmenting, via the processor, the contextual information with additional contextual information present in a processing environment where the search query is to be executed, the additional contextual information including details relevant to the processing environment including a processor load for a processor and identifications for other services processing when the query is to be executed; retaining, via the processor, the contextual information with the additional contextual information as metadata that is carried as comments with the search query when the action is performed on the search query and the comments are ignored by a search service that executes the search query and the comments are retained by a Structured Query Language (SQL) parser, and storing the comments to a database and executing the action.