MarkLogic Server 11.0 Product Documentation
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

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

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

  => removes the word "Fiat" from the specified dictionary
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy