Loading TOC...


   config as element(configuration),
   baseline as String
) as element(configuration)


This function sets the language baseline for this cluster. A change to the language baseline requires a restart of the cluster and a reindex to avoid stemming and tokenization anomalies.

config A configuration specification, typically as returned from one of the Admin module functions.
baseline The language baseline to be used in this cluster. As of 11.3.0, "legacy" is not supported and only "ml9" is accepted.


  const admin = require('/MarkLogic/admin.xqy');
  const cfg = admin.getConfiguration()
  admin.clusterSetLanguageBaseline(cfg, "ml9")

   //Assigns 'ml9' as the language baseline of this cluster.
   //Use admin.saveConfiguration to save the changes to the configuration
   //or pass the configuration to other Admin API functions to make other

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