Loading TOC...

spell.removeWord

spell.removeWord(
   $uri as String,
   $word as String
) as null

Summary

Remove the word $word from the dictionary at $uri.

Parameters
$uri The URI of the dictionary.
$word The word to remove.

Example

  var spell = require("/MarkLogic/spell");
  declareUpdate();

  spell.removeWord("/mySpell/spell.json", "Fiat")

  => removes the word "Fiat" from the specified dictionary
  

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.

Comments