admin.clusterGetLanguageBaseline( config as element(configuration) ) as String
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. |
const admin = require('/MarkLogic/admin.xqy'); const cfg = admin.getConfiguration() admin.clusterGetLanguageBaseline(cfg) //Returns the language baseline of this cluster.