Package org.elasticsearch.index.mapper
Class ParentFieldMapper.Builder
- java.lang.Object
-
- org.elasticsearch.index.mapper.Mapper.Builder<T,Y>
-
- org.elasticsearch.index.mapper.FieldMapper.Builder<T,Y>
-
- org.elasticsearch.index.mapper.MetadataFieldMapper.Builder<ParentFieldMapper.Builder,ParentFieldMapper>
-
- org.elasticsearch.index.mapper.ParentFieldMapper.Builder
-
- Enclosing class:
- ParentFieldMapper
public static class ParentFieldMapper.Builder extends MetadataFieldMapper.Builder<ParentFieldMapper.Builder,ParentFieldMapper>
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.index.mapper.FieldMapper.Builder
copyTo, defaultFieldType, docValuesSet, fieldType, includeInAll, indexOptionsSet, multiFieldsBuilder, omitNormsSet
-
Fields inherited from class org.elasticsearch.index.mapper.Mapper.Builder
builder, name
-
-
Constructor Summary
Constructors Constructor Description Builder(java.lang.String documentType)
-
Method Summary
Modifier and Type Method Description ParentFieldMapper
build(Mapper.BuilderContext context)
Returns a newly built mapper.ParentFieldMapper.Builder
eagerGlobalOrdinals(boolean eagerGlobalOrdinals)
ParentFieldMapper.Builder
type(java.lang.String type)
-
Methods inherited from class org.elasticsearch.index.mapper.FieldMapper.Builder
addMultiField, allowsIndexOptions, boost, buildFullName, copyTo, defaultDocValues, docValues, fieldType, getDefaultIndexOption, includeInAll, index, indexAnalyzer, indexOptions, nullValue, omitNorms, searchAnalyzer, searchQuoteAnalyzer, setupFieldType, similarity, store, storeTermVectorOffsets, storeTermVectorPayloads, storeTermVectorPositions, storeTermVectors
-
Methods inherited from class org.elasticsearch.index.mapper.Mapper.Builder
name
-
-
-
-
Method Detail
-
type
public ParentFieldMapper.Builder type(java.lang.String type)
-
eagerGlobalOrdinals
public ParentFieldMapper.Builder eagerGlobalOrdinals(boolean eagerGlobalOrdinals)
-
build
public ParentFieldMapper build(Mapper.BuilderContext context)
Description copied from class:Mapper.Builder
Returns a newly built mapper.- Specified by:
build
in classMapper.Builder<ParentFieldMapper.Builder,ParentFieldMapper>
-
-