==Indexes==
As BaseX mainly aims mainly for efficiency, the maintenance of indexes is left to the user.
This requires the user to call the [[Commands#OPTIMIZE|OPTIMIZE]] command after all
update operations have been executed: multiple update operations can be performed
once in the updating process.
However, Since {{Mark|Version 7.1}} of BaseX supports , incremental index updatesare supported forfor text nodes and attribute values. The [[Options (Snapshot)#UPDINDEX|UPDINDEX]]
database option can be turned on for a particular database to trigger index updates.