System And Method For Providing Full-Text Search Integration In XQuery
First Claim
1. A system for providing full-text search integration in XQuery, comprising:
- a storage device storing computer-executable program code;
a processor executing the computer-executable program code in computer-executable program modules, comprising;
an XQuery interpreter implementing a built-in search function defined in an XQuery language and initiating a full-text search, wherein the search function comprises one or more search terms and a relation logic;
a search function implementation module identifying variants for each search term comprised in the search function and obtaining posting lists for one or more of the variants, each posting list comprising values offset from elements containing the search term associated with the variant to which the posting list corresponds;
a postings resolution module applying the relation logic to the offset values of the posting lists and selecting those elements with offset values that satisfy the relation logic; and
a posting module providing the elements that satisfy the relation logic to the XQuery interpreter as results of the full-text search.
6 Assignments
0 Petitions
Accused Products
Abstract
A system and method for providing full-text search integration in XQuery is presented. A built-in search function defined in an XQuery language is implemented, and a full-text search is initiated. The search function includes one or more search terms and a relation logic. Variants for each search term in the search function are identified. Posting lists are obtained for one or more of the variants. Each posting list includes values offset from elements containing the search term associated with the variant to which the posting list corresponds. The relation logic is applied to the offset values of the posting lists. Those elements with offset values that satisfy the relation logic are selected. The elements that satisfy the relation logic are provided as results of the full-text search.
-
Citations
20 Claims
-
1. A system for providing full-text search integration in XQuery, comprising:
-
a storage device storing computer-executable program code; a processor executing the computer-executable program code in computer-executable program modules, comprising; an XQuery interpreter implementing a built-in search function defined in an XQuery language and initiating a full-text search, wherein the search function comprises one or more search terms and a relation logic; a search function implementation module identifying variants for each search term comprised in the search function and obtaining posting lists for one or more of the variants, each posting list comprising values offset from elements containing the search term associated with the variant to which the posting list corresponds; a postings resolution module applying the relation logic to the offset values of the posting lists and selecting those elements with offset values that satisfy the relation logic; and a posting module providing the elements that satisfy the relation logic to the XQuery interpreter as results of the full-text search. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer-implemented method for providing full-text search integration in XQuery, comprising:
-
implementing a built-in search function defined in an XQuery language and initiating a full-text search, wherein the search function comprises one or more search terms and a relation logic; identifying variants for each search term comprised in the search function and obtaining posting lists for one or more of the variants, each posting list comprising values offset from elements containing the search term associated with the variant to which the posting list corresponds; applying the relation logic to the offset values of the posting lists; selecting those elements with offset values that satisfy the relation logic; and providing the elements that satisfy the relation logic as results of the full-text search. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
Specification