=Custom Index Structures=
With XQuery, it is very comparatively easy to create your own, custom index structures. The following query demonstrate how you can create a {{Code|factbook-index}} database, which contains all texts of the original database in lower case:
<pre class="brush:xquery">