Dictionaries are looked for in a directory and thus (probably often) not listed #266
Description
When I insert a dictionary into Smart Mastering (via match options double-metaphone configuration) and call it this:
/dict.xml
It is inserted into MarkLogic at the following URI:
/dict.xml
But then when I ask the Smart Mastering REST API to give me the existing dictionaries via sm-dictionaries, it looks only for dictionaries in the following directory:
/mdm/config/dictionaries/
So my dictionary is not returned.
As a user, I either need to know that I should call my dictionary the following:
/mdm/config/dictionaries/dict.xml
(I do not see this detail mentioned in the documentation.)
Or the API needs to instead look for dictionaries a different way. For instance, via a collection query for "mdm-dictionary".
I think the second option is preferable since it doesn't require the user to know or do anything different since the "mdm-dictionary" collection is added behind the scenes.