
spell.removeWord( uri as String, word as String ) as null
Remove the word $word from the dictionary at $uri.
| Parameters | |
|---|---|
| uri | The URI of the dictionary. |
| word | The word to remove. |
var spell = require("/MarkLogic/spell");
declareUpdate();
spell.removeWord("/mySpell/spell.json", "Fiat")
=> removes the word "Fiat" from the specified dictionary
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.