Server-side JavaScript

Search

MarkLogic provides a powerful search capability, allowing queries on scalar values, text, elements or JSON properties, geospatial constraints, collections, and directories. Range indexes allow for inequality queries. Furthermore, all query types are fully compossible.

The code below builds a query, runs a search, and iterates through the results.

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