
admin.databaseWordLexicon( collation as String ) as element(db.wordLexicon)
This function constructs a word lexicon specification.
| Parameters | |
|---|---|
| collation |
The collation URI (for example,
http://marklogic.com/collation/.
|
const admin = require('/MarkLogic/admin.xqy');
admin.databaseWordLexicon("http://marklogic.com/collation/")
//returns the word lexicon specification
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.