MarkLogic 9 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 :)
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy