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. |
const thsr = require("/MarkLogic/thesaurus"); declareUpdate(); thsr.removeTerm("/myThsrDocs/roget.xml", "Car") => removes all entries for "Car" from the thesaurus with the specified URI
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.