Exemplo n.º 1
0
 @Override
 public ShortFieldMapper build(BuilderContext context) {
   setupFieldType(context);
   ShortFieldMapper fieldMapper =
       new ShortFieldMapper(
           fieldType,
           docValues,
           ignoreMalformed(context),
           coerce(context),
           fieldDataSettings,
           context.indexSettings(),
           multiFieldsBuilder.build(this, context),
           copyTo);
   fieldMapper.includeInAll(includeInAll);
   return fieldMapper;
 }
 @Override
 public ShortFieldMapper build(BuilderContext context) {
   ShortFieldMapper fieldMapper =
       new ShortFieldMapper(
           buildNames(context),
           precisionStep,
           fuzzyFactor,
           index,
           store,
           boost,
           omitNorms,
           indexOptions,
           nullValue,
           ignoreMalformed(context));
   fieldMapper.includeInAll(includeInAll);
   return fieldMapper;
 }