The table below lists all the
cdict built-in
functions (in this namespace:
http://marklogic.com/xdmp/custom-dictionary
).
The custom dictionary functions are designed to help you manage dictionaries that customize the stemming and tokenization in MarkLogic Server. The custom dictionary function module is installed as the following file:
install_dir/Modules/MarkLogic/custom-dictionary.xqy
where install_dir
is the directory in which
MarkLogic Server is installed.
To use the custom-dictionary.xqy
module in your own code,
include the following line in your XQuery prolog:
import module namespace cdict = "http://marklogic.com/xdmp/custom-dictionary"
at "/MarkLogic/custom-dictionary.xqy";
The library namespace prefix cdict
is not predefined in
the server.
For more details, see Custom Dictionaries for Tokenizing and Stemming in the Search Developer's Guide
Function name | Description |
---|---|
cdict:dictionary-delete | Delete a custom dictionary. |
cdict:dictionary-read | Retrieve the custom dictionary for a language. |
cdict:dictionary-write | Insert or update a custom dictionary for language. |
cdict:get-languages | Return the ISO language codes for all licensed languages. |