Method for automated query language expansion and indexing
AssigneeSisense SF, Inc.
InventorsSteven Griffith, Ilge Akkaya, Audrey Mcgowan, Chris Tice, Jason Freidman, Jeff Watts
Life of this patent
Estimating the term…
Abstract
In an embodiment, a query system sends compact code to a database service for expansion of the compact code to partially-expanded code and expanded code. In an embodiment, a hash value is generated based on the partially-expanded code and indexed in memory with the expanded code. In an embodiment, a hash value is received as part of a command and expanded code is identified based on the hash value and sent to a database service.
Claims15
A method for error tracking, comprising:
- tracking a plurality of reference points corresponding to a plurality of separator characters in a set of expanded code;
- parsing a plurality of compact code strings in order to identify a plurality of first values based on the tracked plurality of reference points, wherein each first value corresponds to a tracking point in a set of compact code;
- determining a plurality of second values based on the plurality of first values and a plurality of offset values, wherein each second value corresponds to a tracking point in a set of at least partially-expanded code, wherein the set of at least partially-expanded code includes at least a first occurrence of a string in the set of compact code that is expanded to an expanded string;
- generating a set of error tracking points, wherein each error-tracking point includes one of the plurality of first values and one of the plurality of second values;
- flagging a first error tracking point of the set of error tracking points in response to a system crash of a parsing system while the parsing system parses the compact code, wherein the first error tracking point corresponds to a last fully parsed compact code segment of the set of compact code;
- and
- sending the flagged first error tracking point to the parsing system, wherein the parsing system resumes parsing the compact code based on the flagged error tracking point.
Computer-readable storage media for transferring data from a source repository to a target repository having computer-executable instructions embodied thereon, wherein, when executed by at least one processing circuitry, the computer-executable instructions cause the at least one processing circuitry to:
- track a plurality of reference points corresponding to a plurality of separator characters in a set of expanded code;
- parse a plurality of compact code strings in order to identify a plurality of first values based on the tracked plurality of reference points, wherein each first value corresponds to a tracking point in a set of compact code;
- determine a plurality of second values based on the plurality of first values and a plurality of offset values, wherein each second value corresponds to a tracking point in a set of at least partially-expanded code, wherein the set of at least partially-expanded code includes at least a first occurrence of a string in the set of compact code that is expanded to an expanded string;
- generate a set of error tracking points, wherein each error-tracking point includes one of the plurality of first values and one of the plurality of second values;
- flag a first error tracking point of the set of error tracking points in response to a system crash of a parsing system while the parsing system parses the compact code, wherein the first error tracking point corresponds to a last fully parsed compact code segment of the set of compact code;
- and
- send the flagged first error tracking point to the parsing system, wherein the parsing system resumes parsing the compact code based on the flagged error tracking point.
A system for indexing, comprising:
- a processing circuitry;
- and
- a memory, the memory containing instructions that, when executed by the processing circuitry, configures the system to:
- track a plurality of reference points corresponding to a plurality of separator characters in a set of expanded code;
- parse a plurality of compact code strings in order to identify a plurality of first values based on the tracked plurality of reference points, wherein each first value corresponds to a tracking point in a set of compact code;
- determine a plurality of second values based on the plurality of first values and a plurality of offset values, wherein each second value corresponds to a tracking point in a set of at least partially-expanded code, wherein the set of at least partially-expanded code includes at least a first occurrence of a string in the set of compact code that is expanded to an expanded string;
- generate a set of error tracking points, wherein each error-tracking point includes one of the plurality of first values and one of the plurality of second values;
- flag a first error tracking point of the set of error tracking points in response to a system crash of a parsing system while the parsing system parses the compact code, wherein the first error tracking point corresponds to a last fully parsed compact code segment of the set of compact code;
- and
- send the flagged first error tracking point to the parsing system, wherein the parsing system resumes parsing the compact code based on the flagged error tracking point.
Dependencies are inferred from the claim text.