allow to set fuzzy factor when merging

This commit is contained in:
kimchy 2011-05-07 14:56:07 +03:00
parent c05df433c6
commit 1565e10d06
1 changed files with 3 additions and 0 deletions

View File

@ -197,6 +197,9 @@ public abstract class NumberFieldMapper<T extends Number> extends AbstractFieldM
if (!mergeContext.mergeFlags().simulate()) {
this.precisionStep = ((NumberFieldMapper) mergeWith).precisionStep;
this.includeInAll = ((NumberFieldMapper) mergeWith).includeInAll;
this.fuzzyFactor = ((NumberFieldMapper) mergeWith).fuzzyFactor;
;
this.dFuzzyFactor = parseFuzzyFactor(this.fuzzyFactor);
}
}