Solutions

MarkLogic Data Hub Service

Fast data integration + improved data governance and security, with no infrastructure to buy or manage.

Learn More

Learn

Stay On Top Of Everything MarkLogic

Be the first to know! News, product information, and events delivered straight to your inbox.

Sign Me Up

Community

Stay On Top Of Everything MarkLogic

Be the first to know! News, product information, and events delivered straight to your inbox.

Sign Me Up

Company

Stay On Top Of Everything MarkLogic

Be the first to know! News, product information, and events delivered straight to your inbox.

Sign Me Up

 
Knowledgebase : MarkLogic Server
SUMMARY When changing the amount of RAM on your MarkLogic Server host, there are additional considerations such as cache settings and swap space. GROUP CACHE SETTINGS As a _‘RULE OF THUMB’_, the memory allocated to group caches (List, Compressed Tree...
SUMMARY Provide an answer to the question "What ports need to be open in my Security Group in order to run MarkLogic Server on Amazon's EC2?" DETAILS To run MarkLogic Server on Amazon's EC2, you'll need to open a port range from 7998-8002 in the a...
INTRODUCTION MarkLogic Server allows you to configure MarkLogic Server so that users are authenticated using an external authentication protocol, such as Lightweight Directory Access Protocol (LDAP) or Kerberos. These external agents serve as centralised...
INTRODUCTION When using Kerberos to authenticate to a MarkLogic server the user must first obtain a Kerberos ticket by either authenticating to a directory server such as Active:Directory or directly to the Kerberos Domain server using the KINIT utility....
SUMMARY Customers using the MarkLogic AWS Cloud Formation Templates may encounter a situation where someone has deleted an EBS volume that stored MarkLogic data (mounted at /var/opt/MarkLogic). Because the volume, and the associated data are no longer av...
SUMMARY MarkLogic recommends that all production servers be monitored for system health. RECOMMENDATIONS For production MarkLogic Server clusters, the system monitoring solution should include the following features: * Enable [http://docs.marklog...
BEST PRACTICE FOR ADDING AN INDEX IN PRODUCTION SUMMARY It is sometimes necessary to remove or add an index to your production cluster. For a large database with more than a few GB of content, the resulting workload from reindexing your database can be ...
BEST PRACTICES FOR EXPORTING AND IMPORTING DATA IN BULK Handling large amounts of data can be expensive in terms of both computing resources and runtime. It can also sometimes result in application errors or partial execution. In general, if you're deal...
INTRODUCTION Problems can occur when trying to explicitly search (or not search) parts of documents when using a global configuration approach to include and exclude elements. GLOBAL APPROACH Including and excluding elements in a document using a glob...
INTRODUCTION In MarkLogic 8, support for native JSON and server side JAVASCRIPT was introduced. We discuss how this affects the support for XML and XQUERY in MarkLogic 8. DETAILS In MarkLogic 8, you can absolutely use _XML_ and _XQuery. XML_ and _XQue...
SUMMARY Stemming in MarkLogic Server is a case-sensitive operation. STEMMED, CASE INSENSITIVE When you run a stemmed, case-insensitive search, MarkLogic will map all the word to lowercase and then calculate the stems. In English, this work fa...
INTRODUCTION A common use case in many business applications is to find if an element exists in any document or not. This article provide ways to find such documents and explain points that should be taken care of while designing a solution. SOLUTION ...
INTRODUCTION MarkLogic Server has shipped with full support for the W3C XML Schema [https://www.w3.org/XML/Schema] specification and schema validation capabilities since version 4.1 (released in 2009). These features allow for the validation of complet...
SUMMARY XDMP-ODBCRCVMSGTOOBIG can occur when a non-ODBC process attempts to connect to an ODBC application server. A couple of reasons that this can happen is that there is an http application that has been accidentally configured to point to the ODBC po...
INTRODUCTION HAProxy (http://www.haproxy.org/ [http://www.haproxy.org/]) is a free, fast and reliable solution offering high availability, load balancing and proxying for TCP and HTTP-based applications. MarkLogic 8 (8.0-8 _and above_) and MarkLogic 9 ...
INTRODUCTION MarkLogic Server is engineered to scale out horizontally by easily adding forests and nodes. Be aware, however, that when adding resources horizontally, you may also be introducing additional demand on the underlying resources. DETAILS On...
INTRODUCTION Attached to this article is a bash script "ml-support-dump.sh", which will generate a zip file containing a lot of useful information for the support team in cases where assistance is required troubleshooting a problem in a development, QA/U...
SUMMARY This article describes how to create a MarkLogic Support Request (commonly known as a _Support Dump_). To create a Support Request: CREATING A SUPPORT REQUEST 1. Use a web browser to log in to the server's Admin interface, which is typically f...
INTRODUCTION In the Scalability, Availabilty & Failover Guide [http://docs.marklogic.com/guide/cluster], the node communication section [http://docs.marklogic.com/guide/cluster/clustering#id_87995] describes a quorum [https://help.marklogic.com/Knowledge...
INTRODUCTION  Division operations involving integer or long datatypes may generate XDMP-DECOVRFLW in MarkLogic 7. This is the expected behavior but it may not be obvious upon initial inspection. For example, similar queries with similar but different i...
SUMMARY: After adding or removing a forest and correspond replica forest in a database, we have seen instances where the Rebalancer does not properly distribute the documents amongst existing and newly added forests. For this particular instance, XDMP...
Search fundamentals Difference between _CTS:CONTAINS AND FN:CONTAINS_ 1) fn:contains is a substring match, where as cts:contains performs query matching 2) cts:contains therefore can utilize general queries and stemming, where fn:contains does not...
INTRODUCTION In the more recent versions of MarkLogic Server, there are checks in place to prevent the loading of invalid documents (such as documents with multiple root nodes). However, documents loaded in earlier versions of MarkLogic Server can now re...
INTRODUCTION This article talks about effects of case sensitivity of search term on search score and thus on final order of search results for a secondary query which is using cts:boost-query and weight. The case-insensitive word term is treated as the ...
SUMMARY Does MarkLogic provide encryption at rest? MARKLOGIC 9 MarkLogic 9 introduces the ability to encrypt 'data at rest' - data that is on media (on disk or in the cloud), as opposed to data that is being used in a process. Encryption can be applie...
INTRODUCTION Encryption at REST with an external KEY MANAGEMENT SYSTEM (KMS), or keystore, offers additional security for your encryption keys, along with key management capabilities like automatic key rotation, key revocation, and key deletion. If you...
INTRODUCTION Here we compare XDBC servers and the Enhanced HTTP server in MarkLogic 8. DETAILS XDBC servers are still fully supported in MarkLogic Server version 8. You can upgrade existing XDBC servers without making any changes and you can create ne...
SUMMARY Here we discuss various methods for sharing metering data with Support: telemetry in MarkLogic 9 and exporting monitoring data. DISCUSSION TELEMETRY In MARKLOGIC 9, enabling telemetry collects, encrypts, packages, and sends diagnostic and sys...
SUMMARY There are situations where the SVC-DIRREM, SVC-DIROPEN and SVC-FILRD errors occur on backups to an NFS mounted drive. This article explains how this condition can occur and describes a number of recommendations to avoid such errors. Under norma...
SUMMARY This article will show you a way to create a GUID using the XQuery language. WHAT ARE GUIDS? A GUID (Globally Unique IDentifier) is expressed as a string and is comprised of groups of hexadecimal characters, each of which are separated into fi...
INTRODUCTION At the time of this writing (MarkLogic 9), MarkLogic Server cannot perform spherical queries, as the geospatial indexes do NOT support a true 3D coordinate system. In situations where cylindrical queries are sufficient, you can create a 2D ...
Introduction MarkLogic Server has a notion of groups, which are sets of similarly configured hosts within a cluster. Application servers (and their respective ports) are scoped to their parent group. Therefore, you need to make sure that the hos...
INTRODUCTION OK, so you have written an amazing "killer App" using XQuery on MarkLogic Server and you are ready to make it available to the world. Before pressing the deploy button, you may want to verify that your application is not susceptible to hacke...
INTRODUCTION This article is intended to give you enough information to enable you to understand the output from query console's profiler. DETAILS QUERY Consider the following XQuery: xquery version '1.0-ml'; let $path := '/Users/chamlin/Downloads/...
SUMMARY When interacting with the MarkLogic Support Team, there may be times when you will need to either submit or retrieve large data content to/from MarkLogic. MarkLogic maintains an ftp server for this purpose. This article describes how to interact...
INTRODUCTION This Knowledgebase article is a general guideline for backups using the journal archiving feature for both free space requirements and expected file sizes written to the archive journaling repository when archive journaling is enabled and ac...
SUMMARY While reindexing should be an infrequent operation in a production environment, it is important to understand how the process can impact a MarkLogic environment. This article describes the process of reindexing and explores how it may affect perf...
Introduction Sometimes, when a cluster is under heavy load, your cluster may show a lot of XDQP-TIMEOUT messages in the error log. Often, a subset of hosts in the cluster may become so busy that the forests they host get unmounted and remounted repeat...
INTRODUCTION For hosts that don't use a standard US locale (_en_US_) there are instances where some lower level calls will return data that cannot be parsed by MarkLogic Server. An example of this is shown with a host configured with a different locale w...
SUMMARY Hung messages in the ErrorLog indicate that MarkLogic Server was blocked while waiting on host resources, typically I/O or CPU. DEBUG LEVEL The presence of Debug-level Hung messages in the ErrorLog does not indiciate a critical problem, but ...
INTRODUCTION This article compares JSON support in MarkLogic Server versions 6, 7, and 8, and the upgrade path for JSON in the database. HOW IS NATIVE JSON DIFFERENT THAN THE PREVIOUS JSON SUPPORT? Previous versions of MarkLogic Server provided XQuery...
SUMMARY If an application server is distributed across multiple nodes in a MarkLogic Server cluster, it is the responsibility of the client to evenly distribute query requests across the available nodes. HTTP LOAD BALANCING To balance load for HTTP ...
SUMMARY There are many different options when loading data into MarkLogic. The best option for your particular circumstances will depend on your use case. DETAILS VERSION COMPATIBILITY Not all features/programs are provided or are compatible with all...
SUMMARY MarkLogic Server maintains an access log for logging each HTTP application server request. However, the access log only contains summary information. In order to log additional HTTP request detail along with parameters, you can do so in the ...
INTRODUCTION Here we discuss management of temporal documents. DETAILS In MarkLogic, a temporal document is managed as a series of versioned documents in a protected collection. The 'original' document inserted into the database is kept and never chan...
INTRODUCTION If you have an existing MarkLogic Server cluster running on EC2, there may be circumstances where you need to upgrade the existing AMI with the latest MarkLogic rpm available. You can also add a custom OS configuration. This article assum...
SUMMARY All hosts in a MarkLogic cluster of two or more servers must run the same MarkLogic Server installation package. OPERATING SYSTEM ARCHITECTURE MarkLogic Server installation packages are created for each supported operating system architectur...
SUMMARY There are scenarios where you may want to restore a database from a MarkLogic Server backup that was taken from a database on a different cluster. EXAMPLES Two example scenarios where this may be appropriate: - For development or testing ...
INTRODUCTION There is a lot of useful information in MarkLogic Server's documentation surrounding many of the new features of MarkLogic 9 - including the new SQL implementation, improvements made to the ODBC driver and the new system for generating SQL "...
SUMMARY This article will help MarkLogic Adminiistrators and System Architects who need to understand how to provision the I/O capacity of their MarkLogic installation. MARKLOGIC DISK USAGE Databases in MarkLogic Server are made up of forests. Indivi...
INTRODUCTION This article provides a list of IP ports that MarkLogic Server uses. MARKLOGIC SERVER PORTS The following IP ports should be open and accessible on every host in the cluster: PORT 7997 (TCP/HTTP) is the default _HealthCheck_ application...
INTRODUCTION MarkLogic automatically provides * ANSI REPEATABLE READ level of isolation for update transactions, and * Serializable isolation for read-only (query) transactions. MarkLogic can be made to provide ANSI SERIALIZABLE isolation for upd...
SUMMARY Text is stored in MarkLogic Server in Unicode NFC normalized form. DISCUSSION In MarkLogic Server, all text is converted into Unicode NFC normalized form before tokenization and storage. Unicode considers NFC-compatible characters to be esse...
ABSTRACT In MARKLOGIC SERVER VERSION 9, the default tokenization and stemming code has been changed for all languages (except English tokenization). Some tokenization and stemming behavior will change between MARKLOGIC 8 and MARKLOGIC 9. We expect that, ...
SUMMARY Version downgrades are NOT supported by MarkLogic Server. BACKUP YOUR CONFIGURATION FILES BEFORE YOU DO ANYTHING ELSE Please ensure you have all your current configuration files backed up. Each host in a MarkLogic cluster is configured usin...
SUMMARY In addition to the multiple language support in MarkLogic Server, MarkLogic Server also supports ISO codes listed below for representation of names for these languages. MARKLOGIC SUPPORTED ISO CODES MarkLogic supports following ISO codes for...
With the release of MarkLogic Server versions 8.0-8 and 9.0-4, detailing memory use broken out by major areas is periodically recorded to the error log. These diagnostic messages can be useful for quickly identifying memory resource consumption at a glanc...
INTRODUCTION The MarkLogic Monitoring History [http://docs.marklogic.com/guide/monitoring] feature allows you to capture and view critical performance data from your cluster. By default, this performance data is stored in the Meters database [http://doc...
SUMMARY New and updated mimetypes [http://docs.marklogic.com/admin-help/mimetype] were added for MARKLOGIC 8. If your _MarkLogic Server_ instance has customized mimetypes, the upgrade to _MarkLogic Server v8.0-1_ will NOT update the mimetypes table. DE...
INTRODUCTION In this article, we discuss use of xdmp:cache-status in monitoring cache status, and explain the values returned. DETAILS Note that this is a relatively expensive operation, so it's not something to run every minute, but it may be valuabl...
UPDATE: Since the time this article was originally written, MarkLogic included Forest Rebalancing [http://docs.marklogic.com/guide/admin/database-rebalancing#chapter] and Forest Retiring [http://docs.marklogic.com/guide/admin/database-rebalancing#id_230...
SUMMARY _Obsolete stands_ (also referred to as "_unclosed-stand_s") occur during the normal operation of MarkLogic Server. Stands in a forest are marked as obsolete so that MarkLogic Server can recover the forest from an unexpected outage. There are man...
SUMMARY On March 1, 2016, a vulnerability in OpenSSL [http://openssl.org/news/vulnerabilities.html#y2016] named DROWN, a man-in-the-middle attack that stands for "Decrypting RSA with Obsolete and Weakened eNcryption", was announced. All MARKLOGIC SERVER ...
INTRODUCTION There have been incidents where upgrades have yielded messages like this in the ErrorLog: 2014-08-26 12:20:16.353 Notice: Admin: Beginning upgrading configuration 2014-08-26 12:20:16.533 Warning: Metering database is not configured - Tempo...
SUMMARY This article briefly looks at the performance implications of ad hoc queries versus passing external variables to a query in a module DETAILS Programatically, you can achieve similar results by dynamically generating ad hoc queries on the ...
PERFORMANCE IMPLICATIONS OF UPDATING MODULE AND SCHEMA DATABASES This article briefly looks at the performance implications of adding or modifying modules or schemas to live (production) databases. DETAILS When XQuery modules or schemas are referenced...
SUMMARY This article lists some common system and MarkLogic Server settings that can affect the performance of a MarkLogic cluster. DETAILS From MarkLogic System Requirements [https://docs.marklogic.com/guide/installation/intro]: I/O SCHEDULERS **...
INTRODUCTION Some customers choose to run MarkLogic without the watchdog process running as ROOT. As this is increasingly becoming a popular topic, there is an additional Knowledgebase article that discusses this in further detail: Knowledgebase: Start...
INTRODUCTION In this Knowledgebase article, we will discuss a technique which will allow you to scope queries in such a way to ensure that they occur only within a parent element. DETAILS CTS:ELEMENT-QUERY Consider a scenario where you have an XML do...
SUMMARY There is a limit to the number of registered queries held in the forest registry. If your application does not account for that fact, you may get unexpected results. WHERE IS IT? If a specific registered query is not found, then a cts:sea...
INTRODUCTION Seeing too many "stand limit" messages in your logs frequently? This article explains what this message means to your application and what actions should you take. WHAT ARE STANDS AND HOW THEIR NUMBERS CAN INCREASE? A stand holds a subs...
On a MarkLogic 7 cluster or a MarkLogic 8 cluster that was previously upgraded from MarkLogic Server version 6, reindexing of the triple index does not always get triggered when the triple index is turned off. Reindexing is performed after turning off an ...
INTRODUCTION In this knowledgebase article, we are working on the premise that a host in your cluster has been completely destroyed, that primary forests on the failed host have failed over to their replicas - and that steps need to be taken to introduce...
SUMMARY This article explores fragmentation policy decisions for a MarkLogic database, and how search results may be influenced by your fragmentation settings. DISCUSSION FRAGMENTS VERSUS DOCUMENTS Consider the below example. 1) Load 20 test docume...
INTRODUCTION This article discusses the capabilities of JavaScript and XQuery, and the use of JSON and XML, in MarkLogic Server, and when to use one vs the other. DETAILS CAN I DO EVERYTHING IN JAVASCRIPT THAT I CAN DO IN XQUERY? AND VICE-VERSA? Yes,...
INTRODUCTION This article discusses how JavaScript is implemented in MarkLogic Server, and how can modules be reused? IS NODE.JS EMBEDDED IN THE SERVER? MarkLogic 8 embeds Google's V8 JavaScript engine [https://code.google.com/p/v8/], just like Node.j...
INTRODUCTION The performance and resource consumption of E-nodes is determined by the kind of queries executed in addtion to the distribution and amount of data. For example, if there are 4 forests in the cluster and the query is asking for only the top-...
The recommended way to run MarkLogic on AWS is to use the "managed" Cloud Formation template provided by MarkLogic: https://developer.marklogic.com/products/cloud/aws [https://developer.marklogic.com/products/cloud/aws] The documentation for it is her...
INTRODUCTION We discuss why MarkLogic server should be started with root priviledges. DETAILS It is possible to install MarkLogic Server in a directory that does not require root priviledges. There's also a section in our Installation Guide (Configu...
INTRODUCTION STEMMING is handled differently between a _word-query_ and _value-query_; a _value-query_ only indexes using basic stemming. DISCUSSION A word may have more than one stem. For example, cts:stem ('placing') returns place placing To ...
SUMMARY When an SSL certificate is expired or out of date, it is necessary to renew the SSL certificates applied to a MarkLogic Application Server. The following general steps are required to apply an SSL certificate. * Create a certificate request...
SUMMARY MarkLogic Server expects the system clocks to be synchronized across all the nodes in a cluster, as well as between Primary and Replica clusters. The acceptable level of clock skew (or drift) between hosts is less than 0.5 seconds, and values gre...
INTRODUCTION This article gives a brief summary of the MarkLogic Telemetry feature [https://docs.marklogic.com/guide/monitoring/telemetry#chapter] available in MarkLogic Server version 9 WHAT IS TELEMETRY USED FOR? Telemetry is a communication channel...
INTRODUCTION Interoperation of Temporal support with other MarkLogic features. FEATURES THAT SUPPORT TEMPORAL COLLECTIONS MarkLogic's Temporal feature is built-in to the server and is supported by many of MarkLogic's power features: Search API, Semant...
INTRODUCTION How do you find all versions of a temporal document? DETAILS In MarkLogic Server, a temporal document is managed as a series of versioned documents in a protected temporal collection. In addition, each temporal document added creates anot...
INTRODUCTION Allen and ISO operators are comparison operators that can be used in temporal queries. DETAILS Both operator sets are used to represent relations between two intervals. ISO operators are more general and usually can be represented by a co...
TIMEZONE INFORMATION AND MARKLOGIC SUMMARY This article discusses the effect of the implicit timezone on date/time values as indexed and retrieved. DISCUSSION TIMEZONE INFORMATION AND INDEXES Values are stored in the index effectively in UTC, withou...
INTRODUCTION XQuery modules can be imported from other XQuery modules in MarkLogic Server. This article describes how modules are resolved in MarkLogic when they are imported in Xquery. DETAILS HOW MODULES ARE IMPORTED IN CODE Modules can be impor...
SUMMARY There are a number of options for transferring data between MarkLogic Server clusters. The best option for your particular circumstances will depend on your use case. DETAILS DATABASE BACKUP AND RESTORE To transfer the data between two indepe...
SUMMARY Sometimes, following a manual merge, a number of deleted fragments -- usually small number -- are left behind after the merge completes. In a system that is undergoing steady updates, one will observe that the number of deleted fragments will go ...
SUMMARY MarkLogic server monitoring dashboard provides a way to Monitor Disk Usage which is a key monitoring metric. Comparing the disk usage shown on monitoring dashboard with Disk space on filesystem (for example, using df -h) reveals difference betwe...
UNDERSTANDING FOREST STATE TRANSITIONS WHILE PUTTING FOREST IN FLASH-BACKUP MODE When we transition a forest into flash-backup mode, the forest is unmounted and then remounted in _read-only_ mode so no updates can be made. During that process, the forest...
VALUE QUERIES SUMMARY Here we summarize some characteristics of value queries and compare to other approaches. DISCUSSION CHARACTERISTICS Punctuation and space tokens are not indexed as words in the universal index. Therefore, word-queries involving...
INTRODUCTION Slow journal frame log entries will be logged at WARNING level in your ErrorLog file and will mention something like this: > .....journal frame took 28158 ms to journal... EXAMPLES 2016-11-17 18:38:28.476 Warning: forest Documents JOURNA...
SUMMARY The XDMP-INMMTREEFULL, XDMP-INMMLISTFULL, XDMP-INMMINDXFULL, XDMP-INMREVIDXFULL, XDMP-INMMTRPLFULL & XDMP-INMMGEOREGIONIDXFULL [http://docs.marklogic.com/guide/admin/databases#id_59939] messages are INFORMATIONAL ONLY.  These messages indicate t...
SUMMARY Internally, MarkLogic Server maps URIs to hash values. Hash values are just numbers. For internal operations, numbers are easier to process and are more performant than strings. We refer the URI hash as a URI Key. DETAILS WHERE WOULD I SEE A U...
INTRODUCTION A document uniform resource identifier (URI) [http://en.wikipedia.org/wiki/Uniform_resource_identifier] is a string [http://en.wikipedia.org/wiki/Character_string_(computer_science)] of characters [http://en.wikipedia.org/wiki/Character_(com...
SUMMARY In releases 8.0-5.3 and 7.0-6.4, we've added code to detect lagged operations and log warnings. FAST QUERY TIMESTAMP Every forest has a notion of a "fast query timestamp", also sometimes referred to as a "nonblocking timestamp". This is the ma...
In MarkLogic Server 5.0, database replication is compatible with local-disk failover, while flexible replication is compatible with both local- and shared-disk failover. In MarkLogic Server 4.2, flexible replication is compatible with both local- an...
BELOW IS A BRIEF DESCRIPTION OF EACH OF THE DATABASES THAT SHIP WITH MARKLOGIC SERVER: * APP-SERVICES contains data for the "Application Services" suite of apps that are available on port 8000 on installing the product. The database also contains execut...
INTRODUCTION MarkLogic Server uses its list cache to hold search term lists in memory. If you're attempting to execute a particularly non-selective or inefficient query, your query will fail due to the size of the search term lists exceeding the allocate...
Introduction We have seen some confusion around the use of the commit() method when working with XCC/J or XCC .NET. In this article, we will walk through a scenario where exceptions are thrown if it is used in an unexpected way and we will discuss man...
SUMMARY It's a lot easier to think of what a directory is useful for rather than to state what it is. Directories are a powerful and efficient way to group documents in a database. While collections are also powerful and efficient, directories have alway...
INTRODUCTION XDQP is a MarkLogic internal protocol used for communication between nodes in a cluster. This protocol version must be the same on all hosts of the cluster, and XDMP-XDQPVER message is logged if the versions are not the same. Example mess...
SUMMARY Each node in a cluster communicates with all of the other nodes in the cluster at periodic intervals. This periodic communication, known as a heartbeat, circulates key information about host status and availability between the nodes in a cluster....
SUMMARY XDMP-CANCELED indicates that a query or operation was cancelled either explicitly or as a result of a system event. XDMP-EXTIME also indicates that a query or operation was cancelled, but the reason for the cancellation is the result of the ...
XDMP:VALUE() VS. XDMP:EVAL(): Both xdmp:value() and xdmp:eval() are used for executing strings of code dynamically. However, there are fundamental difference between the two: * The code in the xdmp:value() is evaluated against the current context - if...
XML SERIALIZATION AND OUTPUT OPTIONS XML AS STORED IN MARKLOGIC SERVER MarkLogic Server starts by parsing and indexing the document contents, converting the document from serialized XML (what you see in a file) to a compressed binary fragment representa...
INTRODUCTION Fields are a great way of restricting what parts of your documents to search, based on XML element QNames or JSON propertyNames [https://help.marklogic.com/Knowledgebase/Article/View/106/0/best-practices-when-trying-to-search-or-not-search-p...
SUMMARY MARKLOGIC 5 does NOT support a dialect that conforms to XQUERY 3.0. DETAILS At the time of this writing, XQUERY 3.0 is a "_Working Draft_" (_http://www.w3.org/TR/xquery-30/ [1]_). MarkLogic remains abreast of and contributes to the XQ...
SUMMARY The ampersand is a special character used to denote a predefined entity reference in a string literal. XQUERY W3C RECOMMENDATION Can be found at http://www.w3.org/TR/xquery-30/ [http://www.w3.org/TR/xquery-30/] . Section 2.4.5 'URI Literals'...
INTRODUCTION This article discusses the use of XQuery in JavaScript and vice versa. USING XQUERY IN JAVASCRIPT A JavaScript module in MarkLogic can also import an XQuery library and access its functions and variables as if they were JavaScript. If you...