XML Indexing

XTC provides several index structures for all kind of XMLdocuments and queries. Besides the common element or content index,XTCprovides for path indexes and CAS (content-and-structure) indexes as well.Fine-grained index specifications allow for cluster properties,selectivedocument indexing,and efficient query evaluation support.

Element Index

The element index covers all XML elements and stores their translated vocabulary ID,the corresponding PCR if in elementless mode,and the unique DeweyID. This index structure has two levels. First the name directory (XML tag names),and secondary the reference lists.

Supports: element-based access,//<tag> access,structural joins

Content Index

The content index covers texts from text nodes or attribute nodes. This index is available for both storage mappings (full and elementless). Entries are primarily ordered by their text value and secondarily by their DeweyID.


Supports: value-based predicate evaluation or keyword-based search and access

Path Index

The path index is only available for the elementless storage mapping. Based on PCRs,reference lists of according document nodes are captured. An index entry consists of the PCR and DeweyID. Because both of them are used as key,the index does not contain any values.

A cluster property is available to switch the index key elements (PCR|DeweyID or DeweyID|PCR).


Supports: path queries or path expressions

Content And Structure Index (CAS)

The CAS index is only available for the elementless storage mapping. Based on text content and PCRs,reference lists of according document nodes are captured. An index entry consists of the text value as key,the PCR and the DeweyID as value and a secondary sort criteria. Therefore,optional clustering is possible via PCR or DeweyID.


Supports: complex queries,content and path evaluation


From:http://www.jb51.cc/article/p-nfcvidgb-vp.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


php输出xml格式字符串
J2ME Mobile 3D入门教程系列文章之一
XML轻松学习手册
XML入门的常见问题(一)
XML入门的常见问题(三)
XML轻松学习手册(2)XML概念
xml文件介绍及使用
xml编程(一)-xml语法
XML文件结构和基本语法
第2章 包装类
XML入门的常见问题(二)
Java对象的强、软、弱和虚引用
JS解析XML文件和XML字符串详解
java中枚举的详细使用介绍
了解Xml格式
XML入门的常见问题(四)
深入SQLite多线程的使用总结详解
PlayFramework完整实现一个APP(一)
XML和YAML的使用方法
XML轻松学习总节篇