
A Database is a collection of Forests.
A Forest consists of Stands.
Each Stand is a set of XML fragments, and is implemented by a set of compressed binary files contained within a sub-directory of the forest directory.
The following are the configuration options:
xml:lang attribute will be indexed
in the language specifed here.
basic, basic stemming is enabled, and the shortest
stem of each word is indexed. When set to advanced,
all stems of each word are indexed. When set to
decompounding, all stems are indexed, and smaller
component words of large compound words are also indexed. Each
successive level of stemming improves recall of word searches,
but also causes slower document loads and larger database files.
cts:near-query). When this parameter
is true, positional searches are possible, but document loading
is slower and the database files are larger.
cts:triple-range-query function. Triple positions
also improve the accuracy of the item-frequency
option of cts:triples.
cts:near-query) within specific XML elements or JSON properties.
You must also enable word positions in order
to perform element position searches. When this
parameter is true, positional searches are possible within an XML element or
JSON property, but document loading is slower and the database files are
larger.
cts:element-value-query function. Turn this
index off if you are not interested in proximity queries and if
you want to conserve disk space and decrease loading time.
cts:element-attribute-value-query function. Turn this
index off if you are not interested in proximity queries and if
you want to conserve disk space and decrease loading time.
cts:field-value-query function. Turn this
index off if you are not interested in field value queries and if
you want to conserve disk space and decrease loading time.
cts:field-value-query function. Turn this
index off if you are not interested in proximity queries and if
you want to conserve disk space and decrease loading time.
cts:near-query) within wildcard queries. You must
also enable three character
searches in order to perform wildcard position searches.
When this parameter is true, positional searches are possible
within a wildcard query, but document loading is slower and the
database files are larger.
cts:near-query) within trailing wildcard queries.
You must also enable trailing wildcard
searches in order to perform trailing wildcard position
searches. When this parameter is true, positional searches
are possible within a trailing wildcard query, but document
loading is slower and the database files are larger.
[add] box (for
example, http://marklogic.com/collation/ for the
UCA Root Collation, which is a sensible collation for many
applications). To remove
a lexicon, uncheck the [keep] box for the lexicon
you want to remove. The specified collation is used to order
the words in the lexicon. Each lexicon contains a list of unique
words in the database or field, where uniqueness is
determined based on the collation chosen. Typically, the specified
collation is case-sensitive and diacritic-sensitive so that
there are different entries for Ford and
ford. Also speeds up wildcard searches. Works in
combination with any other available wildcard indexes to improve
search index resolution and performance. When used in conjunction
with the three character search
index, improves wildcard index resolution and speeds up wildcard
searches.
ab*). This index is not needed if you have
three character searches and a
word lexicon.
a*).
This index is not needed if you have
three character searches and a
word lexicon.
true, it causes a reindex and refragment
operation on all fragments in the database that have a timestamp
equal to or less than the specified timestamp. Note that if you
restore a database that has a timestamp set, if there are
fragments in the restored content that are older than the
specified timestamp, they will start to reindex as soon as
they are restored.
strict, locking enforces mutual exclusion on
existing documents and on new documents.
When set to fast, locking enforces mutual
exclusion on existing and new documents. Instead of
locking all the forests on new documents, it uses a hash function
to select one forest to lock. In general, this is faster than strict.
However, for a short period of time after a new forest is added,
some of the transactions need to be retried internally.
When set to off, locking does not enforce mutual
exclusion on existing documents or on new documents; only use this
setting if you are sure all documents you are loading are new
(a new bulk load, for example), otherwise you might create
duplicate URIs in the database.
strict, the journal protects against MarkLogic
Server process failures, host operating system kernel
failures, and host hardware failures. When set to
fast, the journal protects against MarkLogic
Server process failures but not against host operating system
kernel failures or host hardware failures. When set to
off, the journal does not protect against
MarkLogic Server process failures, host operating system
kernel failures, or host hardware failures.
facet-time, range indexes
are optimized to minimize the amount of CPU time used. When
set to memory-size, range indexes are optimized
to minimize the amount of memory used.
cts:near-query) for frequently occurring words that
have reached this limit (words like a, an,
the, and so on) are resolved without using the indexes.
Even though those types of words are resolved without using the
indexes, this limit helps improve performance by making the indexes
smaller and more efficient to the data actually loaded in the
database.
none also causes queries to use the current
database index settings, even if some settings have not completed
reindexing. The default value of
automatic is recommended for most installations.
xdmp:lock-acquire
with specified timeouts.
Setting this automatic causes a background
task to run regularly to clean up expired lock fragments.
The default setting is none, meaning
lock fragments will remain in the database after the locks
expire (although they will no longer
be locking any documents) until they are explicitly removed with
xdmp:lock-release.
scaled-log), which
scales the term frequency based on the size of the document, or
to use the unscaled-log, which uses term frequency
as a function of the actual term frequency in a document, regardless
of the document size, or to choose an intermediate level of scaling
with lower impact than the default document size-based scaling.
This reduces storage requirements for content that doesn't need to be searchable. You can limit this rule using collections and directories.
Use the Configure tab to add, edit, or remove excluded paths for this database.
Path to exclude: Specify the indexable XPath expression for the content you want to exclude from indexing. This is a required field.
Collections (Optional): Optionally specify one or more collections. The excluded path will only apply to documents that has at least one of these collections. Multiple values are evaluated using OR logic.
Directories (Optional): Optionally specify one or more directories. The excluded path will only apply to documents contained in at least one of these directories. Multiple values are evaluated using OR logic.
Buttons and Tabs:
true).