Loading TOC...

xdmp:host-status

xdmp:host-status(
   $host-id as xs:unsignedLong*
) as element(host-status)*

Summary

Returns the status of a host.

Parameters
host-id A host ID.

Required Privileges

http://marklogic.com/xdmp/privileges/status

Usage Notes

The information returned from xdmp:host-status is always computed on the host specified in the $host-id parameter, even if the call is evaluated on an App Server running on a different host. That is, when the API call is issued, MarkLogic Server communicates with the specified host for the its status and returns the status from the perspective of the specified host (not from the perspective of the host in which the XQuery API is evaluated).

The structure of the data returned is as follows:

host-id

The unique ID of a host.

error

The error in processing host status.

host-name

The internet host name.

group-id

The group the host belongs to.

zone

Zone the host belongs to.

current-time

The current time.

bind-port

The distributed protocol server socket bind internet port number.

connect-port

The distributed protocol client socket connect internet port number.

ssl-fips-enabled

Is ssl fips mode enabled for this host?

foreign-bind-port

The distributed protocol foreign server socket bind internet port number.

foreign-connect-port

The distributed protocol foreign client socket connect internet port number.

background-io-limit

A rate limit for background I/O (MB/s, 0 means no limit).

metering-enabled

Metering Enabled

meters-database

The ID of the Meters database.

performance-metering-enabled

Monitoring Enabled

performance-metering-period

Monitor period in seconds

performance-metering-retain-raw

Retain raw monitoring data in days

performance-metering-retain-hourly

Retain hourly monitoring data in days

performance-metering-retain-daily

Retain daily monitoring data in days

last-startup

The timestamp of last host startup

version

The version of the product.

effective-version

The effective software version of this cluster.

software-version

The actual software version of this cluster.

converters-version

The version of MarkLogic Converters on this host.

host-mode

The mode of this host

host-mode-description

The description for this host mode

architecture

The achitecture of the product.

platform

The platform of the product.

license-key

The license key for this host.

licensee

The host licensee.

license-key-expires

When does the license key for this host expire.

license-key-cpus

How many cpus does this license key support.

license-key-cores

How many cores does this license key support.

license-key-size

The database size (in MB) that this license key support.

license-key-options

The options that this host's license key provides.

This is a complex element with the following element children:

license-key-option

A license key option.

pre-release-expires

When does the pre-release for this host expire.

accepted-version

The last accepted version.

accepted-agreement

The last accepted agreement.

accepted-licensee

The last accepted licensee.

edition

The edition of this host.

environment

The environment of this host.

cpus

The number of CPUs.

cores

The number of cores.

core-threads

The number of core threads (including intel hyper threads).

total-cpu-stat-user

Total cpu utilization for user.

total-cpu-stat-nice

Total cpu utilization for nice.

total-cpu-stat-system

Total cpu utilization for system.

total-cpu-stat-idle

Total cpu utilization for idle.

total-cpu-stat-iowait

Total cpu utilization for iowait.

total-cpu-stat-irq

Total cpu utilization for irq.

total-cpu-stat-softirq

Total cpu utilization for softirq.

total-cpu-stat-steal

Total cpu utilization for steal.

total-cpu-stat-guest

Total cpu utilization for guest.

total-cpu-stat-guest-nice

Total cpu utilization for guest nice.

cpu-stat-user

Total cpu utilization for user.

cpu-stat-nice

Total cpu utilization for nice.

cpu-stat-system

Total cpu utilization for system.

cpu-stat-idle

Total cpu utilization for idle.

cpu-stat-iowait

Total cpu utilization for iowait.

cpu-stat-irq

Total cpu utilization for irq.

cpu-stat-softirq

Total cpu utilization for softirq.

cpu-stat-steal

Total cpu utilization for steal.

cpu-stat-guest

Total cpu utilization for guest.

cpu-stat-guest-nice

Total cpu utilization for guest nice.

memory-process-size

The number of MB of total process virtual memory for the MarkLogic process.

memory-process-rss

The number of MB of Process Resident Size (RSS) for the MarkLogic process.

memory-process-anon

The number of MB of Process Anonymous Memory for the MarkLogic process.

memory-process-rss-hwm

The mazimum (High Water Mark) of Process Resident Size (RSS) in MB for the MarkLogic process.

memory-process-swap-rate

The swap rate for the MarkLogic process in pages/sec.

memory-process-swap-size

The number of MB of memory swapped out for the MarkLogic process.

memory-system-pagein-rate

The page in rate for the system in pages/sec.

memory-system-pageout-rate

The page out rate for the system in pages/sec.

memory-system-swapin-rate

The swap in rate for the system in pages/sec.

memory-system-swapout-rate

The swap out rate for the system in pages/sec.

memory-size

The number of MB of virtual memory.

memory-file-size

The number of MB of virtual memory mapped to data files.

memory-forest-size

The number of MB of virtual memory used by forests.

memory-unclosed-size

The number of MB of virtual memory used by unclosed stands.

memory-cache-size

The number of MB of virtual memory used by caches.

memory-registry-size

The number of MB of virtual memory used to store registered queries.

host-size

The total data size of all forests on the host. The size is calculated by adding the fast data directory size and the data directory size for each forest on this host, but it does not include any content stored in the large data directory.

host-large-data-size

The total size of all large binary data on the host.

log-device-space

The number of MB left on log device.

data-dir-space

The number of MB left on data dir.

config-file-timestamps

The timestamps of the host's config files.

This is a complex element with the following element children:

groups-timestamp

The timestamp of the groups config file.

hosts-timestamp

The timestamp of the hosts config file.

databases-timestamp

The timestamp of the databases config file.

assignments-timestamp

The timestamp of the assignments config file.

tokenizer-timestamp

The timestamp of the tokenizer config file.

mimetypes-timestamp

The timestamp of the mimetypes config file.

http-servers

The HTTP servers running on the host.

This is a complex element with the following element children:

http-server

The HTTP server running on a host.

This is a complex element with the following element children:

http-server-id

The HTTP server id.

port

The server socket bind internet port number.

webDAV

webDAV server versus HTTP server.

xdbc-servers

The XDBC servers running on the host.

This is a complex element with the following element children:

xdbc-server

The XDBC server running on a host.

This is a complex element with the following element children:

xdbc-server-id

The XDBC server id.

port

The server socket bind internet port number.

odbc-servers

The ODBC servers running on the host.

This is a complex element with the following element children:

odbc-server

The ODBC server running on a host.

This is a complex element with the following element children:

odbc-server-id

The ODBC server id.

port

The server socket bind internet port number.

task-server

The task server on a host.

This is a complex element with the following element children:

task-server-id

The task server id.

assignments

Forest assignments as the host sees them.

This is a complex element with the following element children:

assignment

The forest configuration as seen by the host.

This is a complex element with the following element children:

forest-name

The forest name.

host-id

The unique ID of a host.

forest-id

The unique ID of the forest.

hosts

The host's view of all other hosts in the cluster.

This is a complex element with the following element children:

host

The host connection information.

This is a complex element with the following element children:

host-id

The unique ID of a host.

host-name

The internet host name.

connect-port

The distributed protocol client socket connect internet port number.

online

Is this host seen as online? (true for online)

secure

Is communication secured with SSL? For the local host, this is always false.

last-online

The time the host went online.

last-offline

The time the host went offline.

transactions

The transactions being processed by the host.

This is a complex element with the following element children:

transaction

The status of a transaction.

This is a complex element with the following element children:

transaction-id

The unique ID of a transaction.

host-id

The unique ID of a host.

server-id

The unique ID of an App Server (XDBC, ODBC, HTTP, WebDAV, or task server).

xa:xid

transaction-name

The name of a transaction

transaction-mode

The mode of a transaction

transaction-timestamp

The timestamp of a transaction

transaction-state

The state of a transaction

database-id

The unique ID of the database.

forest-id

The unique ID of the forest.

canceled

Has this transaction been canceled.

start-time

The time the operation started.

time-limit

The transaction's time limit, in seconds.

max-time-limit

The upper bound for a transaction's time limit, in seconds.

join-size

An indication of the current size of the join tables created under this transaction.

user

The unique ID of the user executing the transaction.

admin

If the transaction has admin privileges.

backup-jobs

The backup jobs the host is processing.

This is a complex element with the following element children:

backup-job

The backup job.

This is a complex element with the following element children:

job-id

The unique ID of a job.

path

The path of the stand.

start-time

The time the operation started.

forests

The forests in a backup/restore job

This is a complex element with the following element children:

forest

A forest with id and status

This is a complex element with the following element children:

forest-id

The unique ID of the forest.

status

restore-jobs

The restore jobs the host is processing.

This is a complex element with the following element children:

restore-job

The restore job.

This is a complex element with the following element children:

job-id

The unique ID of a job.

path

The path of the stand.

start-time

The time the operation started.

safe-restore-to-time

The safest timestamp closest to the restore-to-time at which all restored forests are in a consistent state.

forests

The forests in a backup/restore job

This is a complex element with the following element children:

forest

A forest with id and status

This is a complex element with the following element children:

forest-id

The unique ID of the forest.

status

native-plugins

The native plugins loaded on a host.

This is a complex element with the following element children:

native-plugin

The status of a native plugin.

This is a complex element with the following element children:

path

The path of the stand.

version

The version of the product.

capabilities

The capabilities of a native plugin.

This is a complex element with the following element children:

aggregate

The name of an aggregate native plugin capability

query-read-bytes

The number of bytes read off disk.

query-read-time

The time (as xs:dayTimeDuration) to read query data from disk.

query-read-rate

The moving average of reading query data from disk, in megabytes per second.

query-read-load

The moving average of the read load on the query, in seconds per second. This is summed for all of the contributing threads.

journal-write-bytes

The number of bytes written to the journal on disk.

journal-write-time

The time (as xs:dayTimeDuration) to write data to the journal.

journal-write-rate

The moving average of writing data to the journal, in megabytes per second.

journal-write-load

The moving average of the load for writing to the journal, in seconds per second. This is summed for all of the threads writing on the host.

save-write-bytes

The number of bytes written when saving in-memory stands.

save-write-time

The time (as xs:dayTimeDuration) spent saving in-memory stands.

save-write-rate

The moving average of writing data to in-memory stands, in megabytes per second.

save-write-load

The moving average of the load for writing to in-memory stands, in seconds per second. This is summed for all of the threads writing on the host.

merge-read-bytes

The number of bytes read during merges.

merge-read-time

The time (as xs:dayTimeDuration) to read data for merges.

merge-read-rate

The moving average of reading merge data from disk, in megabytes per second.

merge-read-load

The moving average of the read load on the merge, in seconds per second. This is summed for all of the contributing threads.

merge-write-bytes

The number of bytes written to disk for merges.

merge-write-time

The time (as xs:dayTimeDuration) to write data for merges.

merge-write-rate

The moving average of writing data for merges, in megabytes per second.

merge-write-load

The moving average of the load for writing for merges, in seconds per second. This is summed for all of the threads writing on the host.

backup-read-bytes

The number of bytes read from disk for backups.

backup-read-time

Thee time (as xs:dayTimeDuration) to read data for backups.

backup-read-rate

The moving average of reading backup data from disk, in megabytes per second.

backup-read-load

The moving average of the read load on the backup, in seconds per second. This is summed for all of the contributing threads.

backup-write-bytes

The number of bytes written to disk for backups.

backup-write-time

The time (as xs:dayTimeDuration) to write data to backups.

backup-write-rate

The moving average of writing data for backups, in megabytes per second.

backup-write-load

The moving average of the load for writing for backups, in seconds per second. This is summed for all of the threads writing on the host.

restore-read-bytes

The number of bytes read from disk for restores.

restore-read-time

Thee time (as xs:dayTimeDuration) to read data for restores.

restore-read-rate

The moving average of reading restore data from disk, in megabytes per second.

restore-read-load

The moving average of the read load on the backup, in seconds per second. This is summed for all of the contributing threads.

restore-write-bytes

The number of bytes written to disk for restores.

restore-write-time

The time (as xs:dayTimeDuration) to write data for restores.

restore-write-rate

The moving average of writing data for restores, in megabytes per second.

restore-write-load

The moving average of the load for writing for restores, in seconds per second. This is summed for all of the threads writing on the host.

large-read-bytes

The number of bytes read from large documents.

large-read-time

Thee time (as xs:dayTimeDuration) to read data from large documents.

large-read-rate

The moving average of reading large documents from disk, in megabytes per second.

large-read-load

The moving average of the read load on large documents, in seconds per second.

large-write-bytes

The number of bytes written to disk for large documents.

large-write-time

The time (as xs:dayTimeDuration) to write data for large documents.

large-write-rate

The moving average of writing data for large documents, in megabytes per second.

large-write-load

The moving average of the load for writing for large documents, in seconds per second.

external-binary-read-bytes

The number of bytes read from external binary documents.

external-binary-read-time

Thee time (as xs:dayTimeDuration) to read data from external binary documents.

external-binary-read-rate

The moving average of reading external binary documents from disk, in megabytes per second.

external-binary-read-load

The moving average of the read load on external binary documents, in seconds per second.

xdqp-client-receive-bytes

The number of bytes received by the xdqp client for host communications.

xdqp-client-receive-time

The time (as xs:dayTimeDuration) to receive xdqp client communication.

xdqp-client-receive-rate

The moving average of receiving xdqp client messages, in megabytes per second.

xdqp-client-receive-load

The moving average of the receive load for the xdqp client, in seconds per second. This is summed for all of the contributing threads.

xdqp-client-send-bytes

The number of bytes sent by the xdqp client for host communications.

xdqp-client-send-time

The time (as xs:dayTimeDuration) to send xdqp client communication.

xdqp-client-send-rate

The moving average of sending xdqp client messages, in megabytes per second.

xdqp-client-send-load

The moving average of the send load for the xdqp client, in seconds per second. This is summed for all of the contributing threads.

xdqp-server-receive-bytes

The number of bytes received by the xdqp server for host communications.

xdqp-server-receive-time

The time (as xs:dayTimeDuration) to receive xdqp server communication.

xdqp-server-receive-rate

The moving average of receiving xdqp server messages, in megabytes per second.

xdqp-server-receive-load

The moving average of the receive load for the xdqp server, in seconds per second. This is summed for all of the contributing threads.

xdqp-server-send-bytes

The number of bytes sent by the xdqp server for host communications.

xdqp-server-send-time

The time (as xs:dayTimeDuration) to send xdqp server communication.

xdqp-server-send-rate

The moving average of sending xdqp server messages, in megabytes per second.

xdqp-server-send-load

The moving average of the send load for the xdqp server, in seconds per second. This is summed for all of the contributing threads.

xdqp-server-request-time

Average response time of XDQP requests from other nodes.

xdqp-server-request-rate

Number of XDQP requests processed per second.

foreign-xdqp-client-receive-bytes

The number of bytes received by the xdqp client for host communications.

foreign-xdqp-client-receive-time

The time (as xs:dayTimeDuration) to receive xdqp client communication.

foreign-xdqp-client-receive-rate

The moving average of receiving xdqp client messages, in megabytes per second.

foreign-xdqp-client-receive-load

The moving average of the receive load for the xdqp client, in seconds per second. This is summed for all of the contributing threads.

foreign-xdqp-client-send-bytes

The number of bytes sent by the xdqp client for host communications.

foreign-xdqp-client-send-time

The time (as xs:dayTimeDuration) to send xdqp client communication.

foreign-xdqp-client-send-rate

The moving average of sending xdqp client messages, in megabytes per second.

foreign-xdqp-client-send-load

The moving average of the send load for the xdqp client, in seconds per second. This is summed for all of the contributing threads.

foreign-xdqp-server-receive-bytes

The number of bytes received by the xdqp server for host communications.

foreign-xdqp-server-receive-time

The time (as xs:dayTimeDuration) to receive xdqp server communication.

foreign-xdqp-server-receive-rate

The moving average of receiving xdqp server messages, in megabytes per second.

foreign-xdqp-server-receive-load

The moving average of the receive load for the xdqp server, in seconds per second. This is summed for all of the contributing threads.

foreign-xdqp-server-send-bytes

The number of bytes sent by the xdqp server for host communications.

foreign-xdqp-server-send-time

The time (as xs:dayTimeDuration) to send xdqp server communication.

foreign-xdqp-server-send-rate

The moving average of sending xdqp server messages, in megabytes per second.

foreign-xdqp-server-send-load

The moving average of the send load for the xdqp server, in seconds per second. This is summed for all of the contributing threads.

read-lock-count

The total number of read locks, summed across all forests on the host.

read-lock-wait-time

The total time spent waiting for read locks, summed across all forests on the host.

read-lock-hold-time

The total time spent holding read locks, summed across all forests on the host.

read-lock-rate

The rate of taking read locks, summed across all forests on the host.

read-lock-wait-load

The read lock wait load, summed across all forests on the host.

read-lock-hold-load

The read lock hold load, summed across all forests on the host.

write-lock-count

The total number of write locks, summed across all forests on the host.

write-lock-wait-time

The total time spent waiting for write locks, summed across all forests on the host.

write-lock-hold-time

The total time spent holding write locks, summed across all forests on the host.

write-lock-rate

The rate of taking write locks, summed across all forests on the host.

write-lock-wait-load

The write lock wait load, summed across all forests on the host.

write-lock-hold-load

The write lock hold load, summed across all forests on the host.

deadlock-count

The number of deadlocks, summed across all forests on the host.

deadlock-wait-time

The total time spent waiting for locks that eventually deadlocked, summed across all forests on the host.

deadlock-rate

The rate of taking write locks, summed across all forests on the host.

deadlock-wait-load

The deadlock wait load, summed across all forests on the host.

Example

xdmp:host-status(xdmp:host("raymond.marklogic.com"))
=>
<host-status xmlns="http://marklogic.com/xdmp/status/host">
  <host-id>13264574555735898770</host-id>
  <host-name>raymond.marklogic.com</host-name>
  <group-id>18323836549784872587</group-id>
  <current-time>2007-02-16T18:50:43.422-08:00</current-time>
  <bind-port>7999</bind-port>
  <connect-port>7999</connect-port>
  <ssl-fips-enabled>false</ssl-fips-enabled>
  <foreign-bind-port>7998</foreign-bind-port>
  <foreign-connect-port>7998</foreign-connect-port>
  <background-io-limit>0</background-io-limit>
  <metering-enabled>true</metering-enabled>
  <meters-database>11672493194876031987</meters-database>
  <performance-metering-enabled>false</performance-metering-enabled>
  <performance-metering-period>1</performance-metering-period>
  <performance-metering-retain-raw>1</performance-metering-retain-raw>
  <performance-metering-retain-hourly>7</performance-metering-retain-hourly>
  <performance-metering-retain-daily>31</performance-metering-retain-daily>
  <memory>4096</memory>
  <last-startup>2007-02-16T18:39:00.642-08:00</last-startup>
  <version>3.2-20070214</version>
  <converters-version>8.0-8</converters-version>
  <architecture>i686</architecture>
  <license-key>ABC-123-XYZ</license-key>
  <licensee>Raymond - MarkLogic</licensee>
  <license-key-expires>2007-04-14T00:00:00-08:00</license-key-expires>
  <license-key-cpus>2</license-key-cpus>
  <license-key-cores>4</license-key-cores>
  <license-key-size>0</license-key-size>
  <license-key-options>
    <license-key-option>conversion</license-key-option>
    <license-key-option>failover</license-key-option>
    <license-key-option>French</license-key-option>
    <license-key-option>German</license-key-option>
    <license-key-option>Italian</license-key-option>
    <license-key-option>Spanish</license-key-option>
    <license-key-option>Russian</license-key-option>
    <license-key-option>Arabic</license-key-option>
    <license-key-option>Simplified Chinese</license-key-option>
    <license-key-option>English</license-key-option>
  </license-key-options>
  <pre-release-expires>2007-05-15T05:08:59-08:00</pre-release-expires>
  <edition>Essential Enterprise</edition>
  <environment>production</edition>
  <cpus>1</cpus>
  <cores>4</cores>
  <core-threads>8</core-threads>
  <total-cpu-stat-user>0.612647</total-cpu-stat-user>
  <total-cpu-stat-nice>0.00208857</total-cpu-stat-nice>
  <total-cpu-stat-system>0.235312</total-cpu-stat-system>
  <total-cpu-stat-idle>99.0692</total-cpu-stat-idle>
  <total-cpu-stat-iowait>0.00208857</total-cpu-stat-iowait>
  <total-cpu-stat-irq>0.066138</total-cpu-stat-irq>
  <total-cpu-stat-softirq>0.0125314</total-cpu-stat-softirq>
  <total-cpu-stat-steal>0</total-cpu-stat-steal>
  <total-cpu-stat-guest>0</total-cpu-stat-guest>
  <total-cpu-stat-guest-nice>0</total-cpu-stat-guest-nice>
  <memory-process-size>23213</memory-process-size>
  <memory-process-rss>774</memory-process-rss>
  <memory-process-anon>711</memory-process-anon>
  <memory-process-rss-hwm>774</memory-process-rss-hwm>
  <memory-process-swap-size>0</memory-process-swap-size>
  <memory-system-pagein-rate>0.133521</memory-system-pagein-rate>
  <memory-system-pageout-rate>37.1188</memory-system-pageout-rate>
  <memory-system-swapin-rate>0</memory-system-swapin-rate>
  <memory-system-swapout-rate>0</memory-system-swapout-rate>
  <memory-size>65536</memory-size>
  <memory-file-size>16</memory-file-size>
  <memory-forest-size>1368</memory-forest-size>
  <memory-unclosed-size>0</memory-unclosed-size>
  <memory-cache-size>20160</memory-cache-size>
  <memory-registry-size>1</memory-registry-size>
  <host-size>24</host-size>
  <host-large-data-size>0</host-large-data-size>
  <log-device-space>2201914</log-device-space>
  <data-dir-space>2201914</data-dir-space>
  <config-file-timestamps>
    <groups-timestamp>1978290846354</groups-timestamp>
    <hosts-timestamp>354793208466</hosts-timestamp>
    <databases-timestamp>1995470715538</databases-timestamp>
    <assignments-timestamp>1832261958290</assignments-timestamp>
    <tokenizer-timestamp>0</tokenizer-timestamp>
    <mimetypes-timestamp>0</mimetypes-timestamp>
  </config-file-timestamps>
  <http-servers>
    <http-server>
      <http-server-id>15847393982828089978</http-server-id>
      <port>9032</port>
      <webDAV>true</webDAV>
    </http-server>
    <http-server>
      <http-server-id>17360064376275143119</http-server-id>
      <port>8000</port>
      <webDAV>false</webDAV>
    </http-server>
    <http-server>
      <http-server-id>4492507232107144149</http-server-id>
      <port>8001</port>
      <webDAV>false</webDAV>
    </http-server>
  </http-servers>
  <xdbc-servers>
    <xdbc-server>
      <xdbc-server-id>4057681084273905496</xdbc-server-id>
      <port>8021</port>
    </xdbc-server>
    <xdbc-server>
      <xdbc-server-id>6086706739056900422</xdbc-server-id>
      <port>8050</port>
    </xdbc-server>
  </xdbc-servers>
  <odbc-servers>
    <odbc-server>
      <odbc-server-id>10668593228373915027</odbc-server-id>
      <port>5432</port>
    </odbc-server>
  </odbc-servers>
  <task-server>
    <task-server-id>10441203546898933382</task-server-id>
  </task-server>
  <assignments>
    <assignment>
      <forest-name>bill</forest-name>
      <forest-id>11413686728343849399</forest-id>
      <host-id>13264574555735898770</host-id>
    </assignment>
    <assignment>
      <forest-name>Security</forest-name>
      <forest-id>11436840116662532973</forest-id>
      <host-id>13264574555735898770</host-id>
    </assignment>
    <assignment>
      <forest-name>Triggers</forest-name>
      <forest-id>6800799099781840925</forest-id>
      <host-id>13264574555735898770</host-id>
    </assignment>
    <assignment>
      <forest-name>Documents</forest-name>
      <forest-id>12434840716430044697</forest-id>
      <host-id>13264574555735898770</host-id>
    </assignment>
    <assignment>
      <forest-name>test</forest-name>
      <forest-id>8050247748004050993</forest-id>
      <host-id>13264574555735898770</host-id>
    </assignment>
    <assignment>
      <forest-name>Modules</forest-name>
      <forest-id>2413699485643173169</forest-id>
      <host-id>13264574555735898770</host-id>
    </assignment>
    <assignment>
      <forest-name>Schemas</forest-name>
      <forest-id>6668879474270284963</forest-id>
      <host-id>13264574555735898770</host-id>
    </assignment>
  </assignments>
  <hosts>
    <host>
      <host-id>13264574555735898770</host-id>
      <host-name>raymond.marklogic.com</host-name>
      <connect-port>7999</connect-port>
      <online>true</online>
      <secure>true</online>
    </host>
  </hosts>
  <backup-jobs/>
  <restore-jobs/>
</host-status>

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.