XML Indexing

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

 

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值