Maintaining templates for index creation and modification
Assigneesalesforce.com, inc.
InventorsNicolas Hernan Battiato, Diego Martin Rubinstein
Life of this patent
Estimating the term…
Abstract
A method and system generates an index for efficient processing of search queries. The system receives documents. Each document is of a document type. The system identifies a template configured for the document type. The template comprises fields arranged in a template structure. The system determines whether the template structure matches the document structure. If the template structure does not match the document structure, the system updates the template by matching the template structure to the document structure. The system generates an index from the updated template with the document data. The system stores the index in an index database. The system uses the index for efficient execution of search queries.
Claims20
A method comprising:
- receiving, at an online system, a document of a document type comprising document data in a document structure;
- identifying a template in a template database that is configured for the document type, the template comprising one or more fields arranged in a template structure;
- determining whether the template structure matches the document structure;
- responsive to determining that the template structure does not match the document structure, updating the template by matching the template structure to the document structure;
- generating an index from the updated template with the document data, wherein the index comprises the document data arranged in the matched template structure;
- and
- storing the index in an index database.
A computer-readable non-transitory storage medium with encoded instructions that, when executed by a processor, cause the processor to accomplish steps of:
- receiving, by an online system, a document of a document type comprising document data in a document structure;
- identifying a template in a template database that is configured for the document type, the template comprising one or more fields arranged in a template structure;
- determining whether the template structure matches the document structure;
- responsive to determining that the template structure does not match the document structure, updating the template by matching the template structure to the document structure;
- generating an index from the updated template with the document data, wherein the index comprises the document data arranged in the matched template structure;
- and
- storing the index in an index database.
A method comprising:
- storing a first index for a document in an index database, wherein the first index comprises a first index data stored in fields arranged in a template structure, the first index generated according to a template comprising the fields arranged in the template structure;
- receiving, at an online system, an updated document comprising document data arranged in a document structure;
- determining whether the document structure matches the template structure;
- responsive to determining that the document structure does not match the template structure, updating the template by matching the template structure to the document structure, wherein the updated template comprises the fields arranged in the matched template structure;
- generating a second index from the updated template with the document data, wherein the second index comprises the document data from the updated document arranged in the matched template structure;
- and
- storing the second index in the index database.
Dependencies are inferred from the claim text.