Loading TOC...

MarkLogic Server 11.0 Product Documentation
spell:remove-word

spell:remove-word(
   $uri as xs:string,
   $word as xs:string
) as empty-sequence()

Summary

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

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

Example

  xquery version "1.0-ml";
  import module namespace spell = "http://marklogic.com/xdmp/spell" 
		  at "/MarkLogic/spell.xqy";

  spell:remove-word("/mySpell/spell.xml", "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.