Currently, the following index structures exist in BaseX:
;Tag/Attribute Name Index:All tags element 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. ; Document Index: This index caches references to all document nodes in a database. It provides fast access to single documents in large database instances. ;Text Index:This index speeds up equality tests on text nodes in XPath location steps with predicates. ;Attribute Index:This index speeds up equality tests on attribute value in XPath location steps with predicates. ;Full-Text Index:[[Full-Text]] indexes are very powerful structures, which are mainly used in information retrieval use cases.
With {{Mark|Version 7.1}}, a new database option was introduced to support [[Options_(Snapshot)#UPDINDEX|incremental indexing]] of texts and attributes.