public static class TextFieldMapper.Builder extends FieldMapper.Builder<TextFieldMapper.Builder,TextFieldMapper>
copyTo, defaultFieldType, docValuesSet, fieldType, includeInAll, indexOptionsSet, multiFieldsBuilder, omitNormsSet
builder, name
Constructor and Description |
---|
Builder(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
TextFieldMapper |
build(Mapper.BuilderContext context)
Returns a newly built mapper.
|
TextFieldMapper.Builder |
docValues(boolean docValues) |
TextFieldMapper.Builder |
eagerGlobalOrdinals(boolean eagerGlobalOrdinals) |
TextFieldMapper.Builder |
fielddata(boolean fielddata) |
TextFieldMapper.Builder |
fielddataFrequencyFilter(double minFreq,
double maxFreq,
int minSegmentSize) |
TextFieldMapper.TextFieldType |
fieldType() |
TextFieldMapper.Builder |
positionIncrementGap(int positionIncrementGap) |
addMultiField, boost, buildFullName, copyTo, defaultDocValues, getDefaultIndexOption, includeInAll, index, indexAnalyzer, indexOptions, nullValue, omitNorms, searchAnalyzer, searchQuoteAnalyzer, setupFieldType, similarity, store, storeTermVectorOffsets, storeTermVectorPayloads, storeTermVectorPositions, storeTermVectors, tokenized
name
public TextFieldMapper.TextFieldType fieldType()
fieldType
in class FieldMapper.Builder<TextFieldMapper.Builder,TextFieldMapper>
public TextFieldMapper.Builder positionIncrementGap(int positionIncrementGap)
public TextFieldMapper.Builder fielddata(boolean fielddata)
public TextFieldMapper.Builder docValues(boolean docValues)
docValues
in class FieldMapper.Builder<TextFieldMapper.Builder,TextFieldMapper>
public TextFieldMapper.Builder eagerGlobalOrdinals(boolean eagerGlobalOrdinals)
public TextFieldMapper.Builder fielddataFrequencyFilter(double minFreq, double maxFreq, int minSegmentSize)
public TextFieldMapper build(Mapper.BuilderContext context)
Mapper.Builder
build
in class Mapper.Builder<TextFieldMapper.Builder,TextFieldMapper>