
admin.databaseGetWordQueryFastCaseSensitiveSearches( config as element(configuration), database-id as (Number|String) ) as Boolean?
This function returns true if the word query fast case sensitive searches setting is enabled for the specified database in the configuration. Otherwise, it returns the empty sequence.
http://marklogic.com/xdmp/privileges/admin/database
http://marklogic.com/xdmp/privileges/admin/database/{id}
const admin = require('/MarkLogic/admin.xqy');
var config = admin.getConfiguration()
admin.databaseGetWordQueryFastCaseSensitiveSearches(config,
xdmp.database("myDatabase"))
//returns the word query fast case sensitive searches setting
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.