Mechanism for multi-domain indexes on XML documents
First Claim
1. A method for accessing XML data, the method comprising:
- storing a plurality of entries in an index, wherein each entry of the plurality of entries includes (a) a value from said XML data and (b) one or more hierarchical position indicators;
wherein at least one entry of the plurality of entries includes a plurality of hierarchical position indicators;
wherein each hierarchical position indicator in each entry of the plurality of entries specifies a hierarchical position of an element in the XML data that contains an instance of the value included in the entry;
receiving a query for information from the XML data, wherein the query comprises path criterion and value criterion;
in response to receiving the query,locating an entry of the plurality of entries in said index;
wherein said located entry includes a value from said XML data that satisfies said value criterion; and
determining whether an instance of the value included in the located entry satisfies the query by determining whether a hierarchical position indicator included in the located entry satisfies said path criterion;
wherein the method is performed by one or more computing devices.
1 Assignment
0 Petitions
Accused Products
Abstract
An XML document can contain domain-specific information, which typically has its own semantics and operations independent of the XML domain. Specialized indexes and operations are used to manage information within different types of domains, for example, text, spatial, life sciences, time series, image, and multimedia domains. Entries in domain-specific indexes are augmented to include data that indicates the position of domain information within the underlying hierarchy, referred to as order keys. The domain-specific index is used to locate instances of the requested information within the domain and to determine whether any of the instances satisfy the request. Determining whether the request is satisfied includes determining whether any of the instances of the domain information are positioned within the hierarchy at a location that satisfies the path specified in the request, i.e., an instance of the information has an appropriate relationship with the particular node specified in the request.
-
Citations
16 Claims
-
1. A method for accessing XML data, the method comprising:
-
storing a plurality of entries in an index, wherein each entry of the plurality of entries includes (a) a value from said XML data and (b) one or more hierarchical position indicators; wherein at least one entry of the plurality of entries includes a plurality of hierarchical position indicators; wherein each hierarchical position indicator in each entry of the plurality of entries specifies a hierarchical position of an element in the XML data that contains an instance of the value included in the entry; receiving a query for information from the XML data, wherein the query comprises path criterion and value criterion; in response to receiving the query, locating an entry of the plurality of entries in said index; wherein said located entry includes a value from said XML data that satisfies said value criterion; and determining whether an instance of the value included in the located entry satisfies the query by determining whether a hierarchical position indicator included in the located entry satisfies said path criterion; wherein the method is performed by one or more computing devices. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer-readable storage medium storing instructions for:
-
storing a plurality of entries in an index, wherein each entry of the plurality of entries includes (a) a value from said XML data and (b) one or more hierarchical position indicators; wherein at least one entry of the plurality of entries includes a plurality of hierarchical position indicators; wherein each hierarchical position indicator in each entry of the plurality of entries specifies a hierarchical position of an element in the XML data that contains an instance of the value included in the entry; receiving a query for information from the XML data, wherein the query comprises path criterion and value criterion; in response to receiving the query, locating an entry of the plurality of entries in said index; wherein said located entry includes a value from said XML data that satisfies said value criterion; and determining whether an instance of the value included in the located entry satisfies the query by determining whether a hierarchical position indicator included in the located entry satisfies said path criterion. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
Specification