Method and mechanism for processing queries for XML documents using an index
First Claim
1. A method for processing a query, comprising:
- receiving a query for a set of matching XML documents, wherein the set of matching XML documents are XML documents, from a set of XML documents, that satisfy search criteria specified in said query; and
using an index to identify one or more XML documents that qualify as members of said set of matching XML documents, wherein said index stores a first set of entries comprising information about the location of elements, a second set of entries comprising information about element attributes, and a third set of entries comprising information about element values.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus for processing a query is provided. A query for a set of Matching XML documents is received. A client may transmit the query for a set of XML documents to the database server. The database server transmits a request for the set of XML documents to a persistent storage. The persistent storage uses an index, at least in part, to obtain the set of XML documents sought by the query. The index stores a first set of entries comprising information about the location of elements, a second set of entries comprising information about element attributes, and a third set of entries comprising information about element values. In responding to a particular query, additional XML documents that are not indexed by the index may also be checked to determine if they correspond to the set of search criteria.
95 Citations
22 Claims
-
1. A method for processing a query, comprising:
-
receiving a query for a set of matching XML documents, wherein the set of matching XML documents are XML documents, from a set of XML documents, that satisfy search criteria specified in said query; and
using an index to identify one or more XML documents that qualify as members of said set of matching XML documents, wherein said index stores a first set of entries comprising information about the location of elements, a second set of entries comprising information about element attributes, and a third set of entries comprising information about element values. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method for maintaining an index, comprising:
-
upon receiving a request to store a particular XML document, storing said particular XML document; and
updating an index to include a reference to said particular XML document, wherein said reference includes a first set of entries comprising information about the location of elements in said particular XML document, a second set of entries comprising information about element attributes in said particular XML document, and a third set of entries comprising information about element values in said particular XML document. - View Dependent Claims (11)
-
-
12. A computer-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform the steps of:
-
receiving a query for a set of matching XML documents, wherein the set of matching XML documents are XML documents, from a set of XML documents, that satisfy search criteria specified in said query; and
using an index to identify one or more XML documents that qualify as members of said set of matching XML documents, wherein said index stores a first set of entries comprising information about the location of elements, a second set of entries comprising information about element attributes, and a third set of entries comprising information about element values. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. A computer-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform the steps of:
-
upon receiving a request to store a particular XML document, storing said particular XML document; and
updating an index to include a reference to said particular XML document, wherein said reference includes a first set of entries comprising information about the location of elements in said particular XML document, a second set of entries comprising information about element attributes in said particular XML document, and a third set of entries comprising information about element values in said particular XML document. - View Dependent Claims (22)
-
Specification