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