Server-side JavaScript
Values
MarkLogic supports the ability to create range indexes on JSON nodes. Server-Side JavaScript (or XQuery) can access these using the built-in lexicon functions. This means that you can build facets and get suggestions from JSON documents.