thsr.load( path as String, uri as String ) as null
Load the file specified in $path to the thesaurus at $uri. Exisiting documents at $uri are overwritten.
Parameters | |
---|---|
path | The path to a file containing thesaurus entries. |
uri | The URI of a thesaurus document. |
var thsr = require("/MarkLogic/thesaurus"); declareUpdate(); thsr.load("c:\thesaurus\roget.xml", "/myThsrDocs/roget.xml")
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.