MarkLogic Server 11.0 Product Documentation
admin.databaseWordLexicon

admin.databaseWordLexicon(
   collation as String
) as element(db.wordLexicon)

Summary

This function constructs a word lexicon specification.

Parameters
collation The collation URI (for example, http://marklogic.com/collation/.

Example

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

  admin.databaseWordLexicon("http://marklogic.com/collation/")
   //returns the word lexicon specification 
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy