Loading TOC...

thsr.removeTerm

thsr.removeTerm(
   $uri as String[],
   $term as String
) as null

Summary

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.

Example

  var thsr = require("/MarkLogic/thesaurus");
  declareUpdate();

  thsr.removeTerm("/myThsrDocs/roget.xml", "Car")

   => removes all entries for "Car" from the thesaurus with the 
      specified URI 
  

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy