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.

Custom Algorithm for Smart Mastering in JavaScript #331

Description

@Smaranika21

@ryanjdew Hi , I was writing a custom algorithm as a part of smart mastering as per my requirement in javascript. I need to construct custom query something like you can see as the return statement bellow, I am using this signature for the function-

function findMatch(expandValues, expandXML, optionsXML) {
//custom logic
return cts.search(cts.jsonPropertyValueQuery("registerName", "*",("case-insensitive","wildcarded","lang=en"),6.0));
}
Test_matching_option.txt

I am attaching the matching option I am using.
Now the issue is this query isnt working when I am calling sm-match API, I can see that log is being generated that I have written in the algorithm. Could you please help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions