Patent ID: 8799269

Claim:
A processor-implemented method of optimizing a search for data from documents, the processor-implemented method comprising: a processor receiving an instruction from a requester to perform an initial map/reduce search for a specific combination of data located in each document from a first database; the processor generating a synthetic event, wherein the synthetic event is a non-executable descriptor of the specific combination of data that is located in documents from the first database, and wherein the synthetic event is stored in a second database; the processor transmitting a message to the requester, wherein the message identifies the synthetic event in the second database that describes the specific combination of data located in the documents from the first database; the processor generating a copy of the synthetic event for each document, in the first database, that contains the specific combination of data; the processor generating a synthetic event count of how many copies of the synthetic event are stored in the second database; the processor receiving and performing a revised map/reduce search for the synthetic event in the second database, wherein the revised map/reduce search determines how many copies of the synthetic event are stored in the second database; and the processor returning a solution for the revised map/reduce search, wherein the solution describes the synthetic event count of the copies of the synthetic event found in the second database.