cdict.dictionaryDelete(
lang as String,
[tokenization as Boolean]
) as null
Summary
Delete a custom dictionary.
Parameters
lang
The ISO language code
of the dictionary to be deleted.
tokenization
Whether to delete the tokenization dictionary or the stemming dictionary for
the specified language. Set to true for tokenization, false for stemming.
Default: false (stemming). This parameter is ignored for languages that
use a single dictionary for both stemming and tokenization, such as
Japanese and Chinese.
Required Privileges
This function requires the custom-dictionary-admin or the
following privileges:
If your language configure uses user-defined lexer and/or stemmer
plugins, you can define additional privileges for finer control. For
details, see
Custom Dictionary Security Considerations in the Search Developer's Guide.
Usage Notes
If no dictionary is installed for the specified language and dictionary
type combination, this operation is a no-op.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.