Loading TOC...

spell.addWord

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

Summary

Add the word $word to the dictionary at $uri.

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

Example

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

  spell.addWord("/mySpell/spell.json", "WebDAV")

  => adds the word "WebDAV" to the specified dictionary
  

Comments

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