Optimizing map/reduce searches by using synthetic events
AssigneeInternational Business Machines Corporation
InventorsROBERT R. FRIEDLANDER, JAMES R. KRAEMER
Life of this patent
Estimating the term…
Abstract
A processor-implemented method, system, and/or computer program product optimizes a search for data from documents. A processor receives an instruction to perform an initial map/reduce search for a specific set of data in documents from a first database. A synthetic event, which is a non-executable descriptor of the specific set of data in documents from the first database, is generated, and a revised map/reduce search for the synthetic event in a second database is conducted. The processor then returns a solution for the revised map/reduce search.
Claims20
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 set of data located in documents from a first database;
- the processor generating a synthetic event, wherein the synthetic event is a non-executable descriptor of the specific set 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 set of data located in the documents from the first database;
- the processor receiving and performing a revised map/reduce search for the synthetic event in the second database;
- and
- the processor returning a solution for the revised map/reduce search, wherein the solution describes a synthetic event count from the second database.
A computer program product for optimizing a search for data from documents, the computer program product comprising:
- a computer readable storage media;
- first program instructions to receive an instruction from a requester to perform an initial map/reduce search for a specific set of data located in documents from a first database;
- second program instructions to generate a synthetic event, wherein the synthetic event is a non-executable descriptor of the specific set of data that is located in documents from the first database, and wherein the synthetic event is stored in a second database;
- third program instructions to transmit a message to the requester, wherein the message identifies the synthetic event in the second database that describes the specific set of data located in the documents from the first database;
- fourth program instructions to receive and perform a revised map/reduce search for the synthetic event in the second database;
- and
- fifth program instructions to return a solution for the revised map/reduce search, wherein the solution describes a synthetic event count from the second database;
- and wherein the first, second, third, fourth, and fifth program instructions are stored on the computer readable storage media.
A computer system comprising:
- a central processing unit (CPU), a computer readable memory, and a computer readable storage media;
- first program instructions to receive an instruction from a requester to perform an initial map/reduce search for a specific set of data located in documents from a first database;
- second program instructions to generate a synthetic event, wherein the synthetic event is a non-executable descriptor of the specific set of data that is located in documents from the first database, and wherein the synthetic event is stored in a second database;
- third program instructions to transmit a message to the requester, wherein the message identifies the synthetic event in the second database that describes the specific set of data located in the documents from the first database;
- fourth program instructions to receive and perform a revised map/reduce search for the synthetic event in the second database;
- and
- fifth program instructions to return a solution for the revised map/reduce search, wherein the solution describes a synthetic event count from the second database;
- and wherein the first, second, third, fourth, and fifth program instructions are stored on the computer readable storage media for execution by the CPU via the computer readable memory.
Dependencies are inferred from the claim text.