首页>
外国专利>
Using intra-document indices to improve XQuery processing over XML streams
Using intra-document indices to improve XQuery processing over XML streams
展开▼
机译:使用文档内索引来改进对XML流的XQuery处理
展开▼
页面导航
摘要
著录项
相似文献
摘要
A system and method for parsing documents in query processing comprises producing at least one index of a document written in a mark-up language, corresponding the index to the document, scanning the document, and selectively skipping portions of the document based on instructions from the index. Furthermore, the mark-up language comprises any of HTML and XML; the skipped portions of the document comprise portions irrelevant to the query; the index comprises a plurality of elements representing textual categories of the query; and the instructions match the elements to the query. If the elements do not match the query, then the parser uses the index to skip the portions of the document corresponding to the unmatched elements. Moreover, each of the elements corresponds to a position in the document, wherein the position comprises an end position, which determines where to resume scanning the document upon skipping the portions of the document.
展开▼