Loading TOC...

MarkLogic 9 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');
  var cfg = admin.getConfiguration()
  admin.clusterGetLanguageBaseline(cfg)

   //Returns the language baseline of this cluster. 
    

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