首页> 外国专利> 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.
机译:一种用于在查询处理中解析文档的系统和方法,包括产生以标记语言编写的文档的至少一个索引,使该索引与该文档相对应,扫描该文档,并基于来自文档的指令有选择地跳过文档的某些部分。指数。此外,标记语言包括HTML和XML中的任何一种。文档的跳过部分包括与查询无关的部分;索引包括代表查询的文本类别的多个元素;并且指令将元素与查询匹配。如果元素与查询不匹配,则解析器使用索引来跳过文档中与不匹配元素相对应的部分。此外,每个元素对应于文档中的位置,其中该位置包括结束位置,该结束位置确定在跳过文档的各部分时在何处恢复扫描文档的位置。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号