MarkLogic 10 Product Documentation
admin.clusterGetLanguageBaseline

admin.clusterGetLanguageBaseline(
   config as element(configuration)
) as String

Summary

This function returns the language baseline of this cluster, either "legacy" or "ml9". The language baseline defines the default language configuration to use. Clusters upgraded from MarkLogic server version 8 will have a language baseline of "legacy".

Parameters
config A configuration specification, typically as returned from one of the Admin module functions.

Example

  
  const admin = require('/MarkLogic/admin.xqy');
  const cfg = admin.getConfiguration()
  admin.clusterGetLanguageBaseline(cfg)

   //Returns the language baseline of this cluster. 
    
Powered by MarkLogic Server | Terms of Use | Privacy Policy