Loading TOC...

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 
  

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