public static class StringFieldMapper.Builder extends FieldMapper.Builder<StringFieldMapper.Builder,StringFieldMapper>
Modifier and Type | Field and Description |
---|---|
protected int |
ignoreAbove |
protected java.lang.String |
nullValue |
protected int |
positionIncrementGap
The distance between tokens from different values in the same field.
|
copyTo, defaultFieldType, docValuesSet, fieldType, includeInAll, indexOptionsSet, multiFieldsBuilder, omitNormsSet
builder, name
Constructor and Description |
---|
Builder(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
StringFieldMapper |
build(Mapper.BuilderContext context)
Returns a newly built mapper.
|
StringFieldMapper.Builder |
eagerGlobalOrdinals(boolean eagerGlobalOrdinals) |
StringFieldMapper.Builder |
fielddata(boolean fielddata) |
StringFieldMapper.Builder |
fielddataFrequencyFilter(double minFreq,
double maxFreq,
int minSegmentSize) |
StringFieldMapper.StringFieldType |
fieldType() |
StringFieldMapper.Builder |
ignoreAbove(int ignoreAbove) |
StringFieldMapper.Builder |
positionIncrementGap(int positionIncrementGap) |
StringFieldMapper.Builder |
searchAnalyzer(NamedAnalyzer searchAnalyzer) |
protected void |
setupFieldType(Mapper.BuilderContext context) |
addMultiField, boost, buildFullName, copyTo, defaultDocValues, docValues, getDefaultIndexOption, includeInAll, index, indexAnalyzer, indexOptions, nullValue, omitNorms, searchQuoteAnalyzer, similarity, store, storeTermVectorOffsets, storeTermVectorPayloads, storeTermVectorPositions, storeTermVectors, tokenized
name
protected java.lang.String nullValue
protected int positionIncrementGap
protected int ignoreAbove
public StringFieldMapper.StringFieldType fieldType()
fieldType
in class FieldMapper.Builder<StringFieldMapper.Builder,StringFieldMapper>
public StringFieldMapper.Builder searchAnalyzer(NamedAnalyzer searchAnalyzer)
searchAnalyzer
in class FieldMapper.Builder<StringFieldMapper.Builder,StringFieldMapper>
public StringFieldMapper.Builder positionIncrementGap(int positionIncrementGap)
public StringFieldMapper.Builder ignoreAbove(int ignoreAbove)
public StringFieldMapper.Builder fielddata(boolean fielddata)
public StringFieldMapper.Builder eagerGlobalOrdinals(boolean eagerGlobalOrdinals)
public StringFieldMapper.Builder fielddataFrequencyFilter(double minFreq, double maxFreq, int minSegmentSize)
protected void setupFieldType(Mapper.BuilderContext context)
setupFieldType
in class FieldMapper.Builder<StringFieldMapper.Builder,StringFieldMapper>
public StringFieldMapper build(Mapper.BuilderContext context)
Mapper.Builder
build
in class Mapper.Builder<StringFieldMapper.Builder,StringFieldMapper>