==Attribute Index==
Similar to the text index, this index speeds up string-based equality and range tests on attribute values. The [[Options#UPDINDEX|UPDINDEX]] option can be activated to keep this index up-to-date.
The following queries will all be rewritten for index access:
//sea[@depth > '2100' and @depth < '4000']
</pre>
Text nodes can be directly accessed from the index via the XQuery functions [[Database Module#db:attribute|db:attribute()]] and [[Database Module#db:attribute-range|db:attribute-range()]].
The contents of the index can be accessed via [[Index Module#index:attributes|index:attributes()]].
==Full-Text Index==
using case insensitive distance at most 2 words]
</pre>
Text nodes can be directly accessed from the index via the XQuery function [[Database Module#db:fulltext|db:fulltext()]]. The [[Full-Text Module]] contains additional functions for retrieving index data.
[[Category:Internals]]