Loading TOC...

MarkLogic Server 11.0 Product Documentation
xdmp and cts functions (Search)

The search extension functions complement the Search Built-in functions.

5 functions
Function name Description
cts.estimate Returns the number of fragments selected by a search.
cts.exists Returns true if any fragment is selected by the search, false if no fragments are selected.
cts.plan Returns an array of JavaScript objects recording information about how the given search will be processed by the index.
xdmp.diacriticLess Returns the specified string, converting all of the characters with diacritics to characters without diacritics.
xdmp.requestTimestamp Returns the system timestamp for this request if the request is a query statement.