Skip to main content

What's New in MarkLogic 11

Annotated Query Output from search:parse Deprecated

The search:parse XQuery function and search.parse server-side JavaScript function can return an annotated cts:query if you pass in "cts:annotated-query" as the output format parameter value. As of MarkLogic 9, use of "cts:annotated-query" is deprecated. Support for this format will be removed in a future release.

If you currently use the annotated query output as an intermediate step in a transformation, you should use the structured query ("search:query") output format instead. Runtime modification of queries is a primary use case for structured query. For more details, see Searching Using Structured Queries in the Search Developer's Guide.

If you currently use the annotated query output format to recover the original query text using search:unparse, you should cache the original query text yourself.