public static class NumberFieldMapper.Builder extends FieldMapper.Builder<NumberFieldMapper.Builder,NumberFieldMapper>
copyTo, defaultFieldType, docValuesSet, fieldType, includeInAll, indexOptionsSet, multiFieldsBuilder, omitNormsSet
builder, name
Constructor and Description |
---|
Builder(java.lang.String name,
NumberFieldMapper.NumberType type) |
Modifier and Type | Method and Description |
---|---|
NumberFieldMapper |
build(Mapper.BuilderContext context)
Returns a newly built mapper.
|
NumberFieldMapper.Builder |
coerce(boolean coerce) |
protected Explicit<java.lang.Boolean> |
coerce(Mapper.BuilderContext context) |
NumberFieldMapper.Builder |
ignoreMalformed(boolean ignoreMalformed) |
protected Explicit<java.lang.Boolean> |
ignoreMalformed(Mapper.BuilderContext context) |
protected void |
setupFieldType(Mapper.BuilderContext context) |
addMultiField, boost, buildFullName, copyTo, defaultDocValues, docValues, fieldType, getDefaultIndexOption, includeInAll, index, indexAnalyzer, indexOptions, nullValue, omitNorms, searchAnalyzer, searchQuoteAnalyzer, similarity, store, storeTermVectorOffsets, storeTermVectorPayloads, storeTermVectorPositions, storeTermVectors, tokenized
name
public Builder(java.lang.String name, NumberFieldMapper.NumberType type)
public NumberFieldMapper.Builder ignoreMalformed(boolean ignoreMalformed)
protected Explicit<java.lang.Boolean> ignoreMalformed(Mapper.BuilderContext context)
public NumberFieldMapper.Builder coerce(boolean coerce)
protected Explicit<java.lang.Boolean> coerce(Mapper.BuilderContext context)
protected void setupFieldType(Mapper.BuilderContext context)
setupFieldType
in class FieldMapper.Builder<NumberFieldMapper.Builder,NumberFieldMapper>
public NumberFieldMapper build(Mapper.BuilderContext context)
Mapper.Builder
build
in class Mapper.Builder<NumberFieldMapper.Builder,NumberFieldMapper>