Indexing and searching JSON objects
Abstract
Disclosed is a method of encoding JavaScript Object Notation (JSON) documents in an inverted index, wherein a tree representation of a JSON document is first generated, and, next, the JSON document is shredded into a list of <value, path, type, jdewey> tuples for each atom node, n, in the tree, where value is a label associated with n, path is a concatenation of node labels associated with ancestors of n, type is a description of a type of value, and jdewey of n is a partial Dewey code of its closest ancestor array node, if one exists, or empty, otherwise. Lastly, an inverted index is built using <path, type, value> as index term, and jdewey as payload. A method is also described to search the inverted index.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 14.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of encoding JavaScript Object Notation (JSON) documents in an inverted index, said method comprising: generating a tree representation of a JSON document; shredding said JSON document into a list of < value, path, type, jdewey> tuples for each atom node, n, in said tree, where value is a label associated with n, path is a concatenation of node labels associated with ancestors of n, starting from a root of said tree, type is a description of a type of value, and jdewey of n is a partial Dewey code of its closest ancestor array node when an ancestor array node exists and jdewey of
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (14 of 14 total)
References Cited — Backward Prior Art (8)
Non-Patent Literature (5)
- Chien et al., "Efficient Structural Joins on Indexed XML Documents," Proceedings of the 28th VLDB Conf., Hong Kong, China, Aug. 20-23, 2002, 12pgs.
- Fontoura et al., "Optimizing Cursor Movement in Holistic Twig Joins," CIKM 2005, Bremen, Germany, Oct. 31-Nov. 5, 2005, 8pgs.
- Jiang et al., "Efficient Processing of XML Twig Queries with OR-Predicates," SIGMOD 2004, Paris, France, Jun. 13-18, 2004, 12pgs.
- Jiang et al., "Holistic Twig Joins on Indexed XML Documents," Proceedings of the 29th VLDB Conf., Berlin, Germany, Sep. 9-12, 2003, 12pgs.
- Kaushik et al., "On the Integration of Structure Indexes and Inverted Lists," SIGMOD 2004, Paris, France, Jun. 13-18, 2004, 12pgs.