==Text Index==
===Exact Queries==
This index speeds up string-based equality tests on text nodes. The [[Options#UPDINDEX|UPDINDEX]] option can be activated to keep this index up-to-date.
Text nodes can be directly accessed from the index via the XQuery function [[Database Module#db:text|db:text()]].
The contents of the index can be accessed via [[Index Module#index:texts|index:texts()]].
===Range Queries==
The text index also supports range queries based on string comparisons:
Text nodes can be directly accessed from the index via the XQuery function [[Database Module#db:text-range|db:text-range()]].
Please note that the current index structures do not support queries for numbers and dates.
==Attribute Index==