1
0
Fork 0

default (empty) configuration should be aligned with the updated model

This commit is contained in:
Claudio Atzori 2018-11-15 16:52:56 +01:00
parent 59bab8dba4
commit 399e4bc80f
2 changed files with 23 additions and 18 deletions

View File

@ -36,6 +36,8 @@ public class DedupConfig implements Config, Serializable {
defaults.put("threshold", "0");
defaults.put("dedupRun", "001");
defaults.put("entityType", "result");
defaults.put("subEntityType", "resulttype");
defaults.put("subEntityValue", "publication");
defaults.put("orderField", "title");
defaults.put("queueMaxSize", "2000");
defaults.put("groupMaxSize", "10");

View File

@ -1,23 +1,26 @@
{
"wf" : {
"configurationId" : "$configurationId$",
"threshold" : "$threshold$",
"run" : "$run$",
"entityType" : "$entityType$",
"orderField" : "$orderField$",
"queueMaxSize" : "$queueMaxSize$",
"groupMaxSize" : "$groupMaxSize$",
"slidingWindowSize" : "$slidingWindowSize$",
"rootBuilder" : [ $rootBuilder:{"$it$"};separator=", "$ ],
"includeChildren" : "$includeChildren$"
},
"pace" : {
{
"wf" : {
"threshold" : "$threshold$",
"dedupRun" : "$run$",
"entityType" : "$entityType$",
"subEntityType" : "$subEntityType$",
"subEntityValue" : "$subEntityValue$",
"orderField" : "$orderField$",
"queueMaxSize" : "$queueMaxSize$",
"groupMaxSize" : "$groupMaxSize$",
"slidingWindowSize" : "$slidingWindowSize$",
"rootBuilder" : [ $rootBuilder:{"$it$"};separator=", "$ ],
"includeChildren" : "$includeChildren$"
},
"pace" : {
"clustering" : [
],
"conditions" : [
],
],
"strictConditions" : [
],
"conditions" : [
],
"model" : [
],
"blacklists" : { }
"blacklists" : { }
}
}