=Value Indexes=
Value indexes can be optionally created and dropped by the user. The text and attribute index will be created by default:.
==Text Index==
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.
==Index Construction==
If free main memory runs out while create a value index, the currently generated index structures will be partially written to disk and eventually merged. If the used memory heuristics fails for some reason (i.e., because multiple index operations run at the same time), fixed index split sizes may be chosen via the [[Options#INDEXSPLITSIZE|INDEXSPLITSIZE]] and [[Options#FTINDEXSPLITSIZE|FTINDEXSPLITSIZE]] options. The number of total index operations will be output on command line in the [[Options#DEBUG|DEBUG]] mode.
=Updates=