Loading TOC...

MarkLogic 12 EA 2 Product Documentation
admin:database-word-lexicon

admin:database-word-lexicon(
   $collation as xs:string
) as element(db:word-lexicon)

Summary

This function constructs a word lexicon specification.

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

Example


  xquery version "1.0-ml";

  import module namespace admin = "http://marklogic.com/xdmp/admin"
		  at "/MarkLogic/admin.xqy";

  admin:database-word-lexicon("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.