Skip to main content

Securing MarkLogic Server

Privileges to Administer a Specific Aspect of a Specific Resource

A privilege of this category grants a user an ability to administer a specific aspect (for example, backup) of a specific resource (for example, the database with identifier database-ID). This privilege is granted by suffixing the privilege for the specific aspect (for example, "backup") of that kind of resource (for example, "database") with the specific identifier (for example, "database-ID"), which results in the specific privilege (for example, http://marklogic.com/xdmp/privileges/admin/database/backup/database-ID). This privilege may imply the privilege to read and write a portion of a configuration file.

The following privileges belong to this category:

http://marklogic.com/xdmp/privileges/admin/database/forests/database-ID

http://marklogic.com/xdmp/privileges/admin/database/backup/database-ID

http://marklogic.com/xdmp/privileges/admin/database/index/database-ID

http://marklogic.com/xdmp/privileges/admin/database/index/database-name

http://marklogic.com/xdmp/privileges/admin/database/replication/database-ID

http://marklogic.com/xdmp/privileges/admin/database/forest-backup/database-ID

http://marklogic.com/xdmp/privileges/admin/forest/backup/forest-ID

http://marklogic.com/xdmp/privileges/admin/group/scheduled-task/group-ID

A user with any of the following privileges

http://marklogic.com/xdmp/privileges/admin/database/index

http://marklogic.com/xdmp/privileges/admin/database/index/database-ID

http://marklogic.com/xdmp/privileges/admin/database/index/database-name

can alter the following properties:

Property

Description

attribute-value-positions

Index attribute value positions for faster near searches involving element-attribute-value-query (slower document loads and larger database files).

collection-lexicon

Maintain a lexicon of collection URIs (slower document loads and larger database files).

default-rulesets

The default rulesets configuration.

element-attribute-word-lexicons

Maintain lexicons of words in elements.

element-value-positions

Index element value positions for faster near searches involving element-value-query (slower document loads and larger database files).

element-word-lexicons

Maintain lexicons of words in XML elements or JSON properties.

element-word-positions

Index element word positions for faster element-based phrase and near searches (slower document loads and larger database files).

element-word-query-throughs

The element-word-query-through specifications.

fast-case-sensitive-searches

Enable faster case sensitive searches (slower document loads and larger database files).

fast-diacritic-sensitive-searches

Enable faster diacritic sensitive searches (slower document loads and larger database files).

fast-element-character-searches

Enable element wildcard searches and element-character-based XQuery predicates (slower document loads and larger database files).

fast-element-phrase-searches

Enable faster element phrase searches (slower document loads and larger database files).

fast-element-trailing-wildcard-searches

Enable element trailing wildcard searches (slower document loads and larger database files).

fast-element-word-searches

Enable faster element-word searches (slower document loads and larger database files).

fast-phrase-searches

Enable faster phrase searches (slower document loads and larger database files).

fast-reverse-searches

Enable faster reverse searches (slower document loads and larger database files).

field-value-positions

Index field value positions for faster near searches involving field-value-query (slower document loads and larger database files).

field-value-searches

Index field values for faster searches involving field-value-query (slower document loads and larger database files).

fields

The fields specifications.

geospatial-element-attribute-pair-indexes

Indexes for fast geospatial element comparisons.

geospatial-element-child-indexes

Indexes for fast geospatial element comparisons.

geospatial-element-indexes

Indexes for fast geospatial element comparisons.

geospatial-element-pair-indexes

Indexes for fast geospatial element comparisons.

geospatial-path-indexes

Indexes for fast geospatial path-based comparisons.

geospatial-region-path-indexes

Indexes for fast geospatial region comparisons.

language

The default language assumed for content (if xml:lang encoding is absent)

path-namespaces

The namespace binding specifications for Path indexes.

phrase-arounds

The phrase-around specifications.

phrase-throughs

The phrase-through specifications.

range-element-attribute-indexes

Indexes for fast element-attribute inequality comparisons.

range-element-indexes

Indexes for fast inequality comparisons.

range-index-optimize

Specifies how to optimize range indexes.

range-path-indexes

Indexes for fast inequality comparisons.

stemmed-searches

Enable stemmed word searches (slower document loads and larger database files).

tf-normalization

What kind of TF normalization to apply.

three-character-searches

Enable wildcard searches and faster character-based XQuery predicates using three or more characters (slower document loads and larger database files).

three-character-word-positions

Index word positions for three-character searches only when three-character-searches are enabled (slower document loads and larger database files).

trailing-wildcard-searches

Enable trailing wildcard searches (slower document loads and larger database files).

trailing-wildcard-word-positions

Index word positions for trailing-wildcard searches only when trailing-wildcard-searches are enabled (slower document loads and larger database files).

triple-index

Enable the RDF triple index (slower document loads and larger database files).

triple-positions

Index triple positions for faster near searches involving cts:triple-range-query (slower document loads and larger database files).

uri-lexicon

Maintain a lexicon of document URIs (slower document loads and larger database files).

word-lexicons

A list of word lexicons. Each lexicon is defined by its collation URI.

word-positions

Index word positions for faster phrase and near searches (slower document loads and larger database files).

word-searches

Enable unstemmed word searches (slower document loads and larger database files).