Skip to content
This repository was archived by the owner on Nov 9, 2022. It is now read-only.
This repository was 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

Description

@wooldridge

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions