Powered by Zoomin Software. For more details please contactZoomin

Administrate MarkLogic Server

Using Namespace Prefixes in Index Path Expressions

Using Namespace Prefixes in Index Path Expressions

  • Last Updated: April 15, 2026
  • 1 minute read
    • MarkLogic Server
    • Version 11.0
    • Documentation

XML namespace prefixes are permitted in all valid path range index expressions, but you must define the namespace binding in your database configuration. For example, if your path expression is /ns:a/ns:b, you must configure a namespace binding for the prefix ns.

To pre-define a namespace binding, use the Path Namespaces configuration page for your database in the Admin Interface or the XQuery function admin:database-add-path-namespace.

For details, see Defining Path Range Indexes.

TitleResults for “How to create a CRG?”Also Available inAlert