Since {{Version|8.3}}, value indexing can be restricted to specific elements and attributes. The nodes to be indexed can be restricted via the [[Options#TEXTINCLUDE|TEXTINCLUDE]], [[Options#ATTRINCLUDE|ATTRINCLUDE]] and [[Options#FTINCLUDE|FTINCLUDE]] options. The options take a list of name patterns, which are separated by commas. The following name patterns are supported:
* <code>*</code>: accept all names* <code>name</code>: accept all elements or attributes called <code>name</code> , which are in the empty default namespace* <code>*:name</code>: accepts all elements or attributes called <code>name</code>; the , no matter which namespace is ignored* <code>Q{uri}*</code>: accepts all elements or attributes in the <code>uri</code> namespace* <code>Q{uri}name</code>: accepts all elements or attributes called <code>name</code> in the <code>uri</code> namespace
The options can also be specified via the functions of the Database Module:
(: only index id and name attributes :)
db:create('factbook', 'http://files.basex.org/xml/factbook.xml', '', map { 'attrinclude': 'id,name' })
</pre>
==Index Construction==