forked from D-Net/dnet-hadoop
fixed error in the treeprocessor. it used th=-1 as default value, now it use th=1
This commit is contained in:
parent
19c3c90d7b
commit
dd34e371d7
|
@ -51,7 +51,7 @@ public class TreeNodeDef implements Serializable {
|
|||
fieldConf.getComparator() + " on " + fieldConf.getField() + " " + fields.indexOf(fieldConf),
|
||||
new FieldStats(
|
||||
weight,
|
||||
Double.parseDouble(fieldConf.getParams().getOrDefault("threshold", "-1.0")),
|
||||
Double.parseDouble(fieldConf.getParams().getOrDefault("threshold", "1.0")),
|
||||
result,
|
||||
fieldConf.isCountIfUndefined(),
|
||||
doc1.getFieldMap().get(fieldConf.getField()),
|
||||
|
|
Loading…
Reference in New Issue