Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Dictionaries are looked for in a directory and thus (probably often) not listed #266

Open
wooldridge opened this issue Dec 19, 2018 · 0 comments

Comments

@wooldridge
Copy link

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.

@wooldridge wooldridge changed the title Dictionaries are put in a directory and thus not listed Dictionaries are looked for in a directory and thus (probably often) not listed Dec 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant