thsr.removeTerm( uri as String[], term as String ) as null
Removes all entries with term $term from the thesaurus document(s) at $uri.
Parameters | |
---|---|
uri | The URI of the thesaurus document(s). |
term | A term to remove from the thesaurus. |
var thsr = require("/MarkLogic/thesaurus"); declareUpdate(); thsr.removeTerm("/myThsrDocs/roget.xml", "Car") => removes all entries for "Car" from the thesaurus with the specified URI