The contents of the path index can be directly accessed with the XQuery function [[Index Module#index:facets|index:facets]].
==Resource Document Index==
The resource document index contains references to the {{Code|pre}} values of all XML document nodes. It speeds up the access to specific documents in a database. Once documents with specific paths are requested, and it the index will automatically be updated when updates are performedextended to also contain document paths.
The following query will be sped index generally speeds up by the resource index: <pre class="brush:xquery"> db:open('DatabaseWithLotsOfDocuments')</pre>access to single documents and database paths. It is always up-to-date.
=Value Indexes=