The search API (for example search:search()) is an XQuery library that provides a high-level interface for some of MarkLogic's core features, such as search, faces, and aggregates. It uses lower-level libraries cts:*(and others) under covers, but will save most developers a bunch of input and debugging.
, API . , , . , . , API . - , API , , cts:query. , search:resolve() cts:query search:search().
, , Server-Side JavaScript, 8.0-4 , JavaScript.