allow to set fuzzy factor when merging
This commit is contained in:
parent
c05df433c6
commit
1565e10d06
|
@ -197,6 +197,9 @@ public abstract class NumberFieldMapper<T extends Number> extends AbstractFieldM
|
||||||
if (!mergeContext.mergeFlags().simulate()) {
|
if (!mergeContext.mergeFlags().simulate()) {
|
||||||
this.precisionStep = ((NumberFieldMapper) mergeWith).precisionStep;
|
this.precisionStep = ((NumberFieldMapper) mergeWith).precisionStep;
|
||||||
this.includeInAll = ((NumberFieldMapper) mergeWith).includeInAll;
|
this.includeInAll = ((NumberFieldMapper) mergeWith).includeInAll;
|
||||||
|
this.fuzzyFactor = ((NumberFieldMapper) mergeWith).fuzzyFactor;
|
||||||
|
;
|
||||||
|
this.dFuzzyFactor = parseFuzzyFactor(this.fuzzyFactor);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue