Index Settings

List of index settings (and associated icons) that can be applied to the entity properties.

You can apply the following index settings to the entity properties.

Icon Name If selected,
Primary Key

The property is used as the primary key for indexing. Exactly one property must be selected as the primary key.

See Identifying the Primary Key Entity Property.

Element Range Index

The property is backed by an element range index in the database. This affects the query options you can generate from a model.

Range indexes can be configured in entity definitions to improve performance. Learn more: Indexing in MarkLogic

See Identifying Entity Properties for Indexing.

Path Range Index

The property is backed by a path range index in the database. This affects the query options you can generate from a model.

Range indexes can be configured in entity definitions to improve performance. Learn more: Indexing in MarkLogic

See Identifying Entity Properties for Indexing.

Word Lexicon

The property is backed by a word lexicon in the database. This affects the query options you can generate from a model.

See Identifying Entity Properties for Indexing.

Required Field

The property must be in every instance of the entity type. You can set multiple properties as required.

See Distinguishing Required and Optional Entity Properties.

Personally Identifiable Information

The property's value must be safeguarded and handled according to PII protection rules and policies. You can set multiple properties as PII.

See Identifying Personally Identifiable Information (PII).