You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.
Hi @ryanjdew,
I have created one custom algorithm that returns cts query in form of cts:json-property-value-query. Using this algorithm, I am getting the item as matched item but the score I have mentioned is not getting added to the total match score.
cts query I am returning-
cts:json-property-value-query($field, $value, ("case-insensitive","wildcarded"),$expand-xml/@weight)
I am attaching the custom algo I have written.
I am matching two documents, where in one the value of $field is "hello world how are you" and in another it is "hello1world1how1are
In match result , I am just getting the match items but the score is not being added.
I have checked with cts:json-property-word-query as well with all the options available but still its not adding to the final score.
Is there anything else that can be done?
Hi @ryanjdew , thanks for your time, very much appreciated. I am using data hub version 4.3.1.
I am using this function from matcher.xqy to get match results -
"find-document-matches-by-options-name"
Also tried this - "matcher.findDocumentMatchesByOptions".
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi @ryanjdew,
I have created one custom algorithm that returns cts query in form of cts:json-property-value-query. Using this algorithm, I am getting the item as matched item but the score I have mentioned is not getting added to the total match score.
cts query I am returning-
cts:json-property-value-query($field, $value, ("case-insensitive","wildcarded"),$expand-xml/@weight)
I am attaching the custom algo I have written.
I am matching two documents, where in one the value of $field is "hello world how are you" and in another it is "hello1world1how1are
In match result , I am just getting the match items but the score is not being added.
Any help would be appreciated.
CustomMatchAlgo.txt
" .
The text was updated successfully, but these errors were encountered: