Powered by Zoomin Software. For more details please contactZoomin

What's New in MarkLogic 11

map:new Retains Keys with Empty Values

  • Last Updated: April 14, 2026
  • 1 minute read
    • MarkLogic Server
    • Version 11.0
    • Documentation

As of MarkLogic 9.0-4, the map:new function retains any input key-value pair whose value is an empty sequence. Previous versions of MarkLogic 9 and versions of MarkLogic 8 prior to 8.0-7 discarded such key-value pairs.

For example:

map:keys(map:new(map:entry("noval",())))
(: Now returns "noval". Previously, returned an empty sequence. :)
TitleResults for “How to create a CRG?”Also Available inAlert