Changes

Jump to navigation Jump to search
329 bytes added ,  06:52, 11 December 2011
no edit summary
This article is part of the [[Querying|Query Portal]].It enumerates the and introduces various index structures available in BaseX, which may speed up many queries by orders of magnitudes.
==Existing IndexesIndex Structures==
Indexes may speed up queries by orders of magnitudes. Currently, four indexes the following index structures existin BaseX:
;Tag/Attribute Name Index
:All tags and attribute names are automatically indexed and enriched with statistical information.
;Path Summary
:Unique paths in a document or collection are referenced by the path index, which is applied e.g. to rewrite descendant to more specific child steps.
;Text Index
:This index speeds up equality tests on text comparisons nodes in XPath predicates.
;Attribute Index
:This index speeds up equality tests on attribute value comparisons in XPath predicates.
;Full-Text Index
:[[Full-text queries ]] indexes are sped up by this index.;Path Summary:This index speeds up the resolution of location pathsvery powerful structures, which are mainly used in information retrieval use cases.
==Examples of using the indexes==
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu