java.lang.Object
org.elasticsearch.index.mapper.Mapper
org.elasticsearch.index.mapper.ObjectMapper
org.elasticsearch.index.mapper.NestedObjectMapper
- All Implemented Interfaces:
 Iterable<Mapper>,ToXContent,ToXContentFragment
A Mapper for nested objects
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class org.elasticsearch.index.mapper.ObjectMapper
ObjectMapper.Defaults, ObjectMapper.Dynamic, ObjectMapper.MergeResult, ObjectMapper.SubobjectsNested classes/interfaces inherited from class org.elasticsearch.index.mapper.Mapper
Mapper.IgnoreAbove, Mapper.SourceKeepModeNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params - 
Field Summary
FieldsFields inherited from class org.elasticsearch.index.mapper.ObjectMapper
dynamic, enabled, mappers, sourceKeepMode, SUB_OBJECTS_AUTO_FEATURE_FLAG, subobjectsFields inherited from class org.elasticsearch.index.mapper.Mapper
SYNTHETIC_SOURCE_KEEP_FEATURE, SYNTHETIC_SOURCE_KEEP_INDEX_SETTING, SYNTHETIC_SOURCE_KEEP_PARAMFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS - 
Method Summary
Modifier and TypeMethodDescriptionFunction<org.apache.lucene.search.Query, org.apache.lucene.search.join.BitSetProducer> protected MapperMergeContextcreateChildContext(MapperMergeContext mapperMergeContext, String name) booleanbooleanbooleanisNested()merge(Mapper mergeWith, MapperMergeContext parentMergeContext) Return the merge ofmergeWithinto this.org.apache.lucene.search.QuerynewBuilder(IndexVersion indexVersionCreated) org.apache.lucene.search.QuerytoXContent(XContentBuilder builder, ToXContent.Params params) Methods inherited from class org.elasticsearch.index.mapper.ObjectMapper
doXContent, dynamic, findParentMapper, fullPath, getMapper, getTotalFieldsCount, isEnabled, isRoot, iterator, serializeMappers, sourceKeepMode, subobjects, typeName, validateMethods inherited from class org.elasticsearch.index.mapper.Mapper
freezeAndDeduplicateFieldType, getOffsetFieldName, internFieldName, leafName, supportStoringArrayOffsets, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragment 
- 
Field Details
- 
CONTENT_TYPE
- See Also:
 
 
 - 
 - 
Method Details
- 
indexSettings
 - 
parentTypeFilter
public org.apache.lucene.search.Query parentTypeFilter() - 
nestedTypeFilter
public org.apache.lucene.search.Query nestedTypeFilter() - 
nestedTypePath
 - 
isNested
public boolean isNested()- Overrides:
 isNestedin classObjectMapper
 - 
isIncludeInParent
public boolean isIncludeInParent() - 
isIncludeInRoot
public boolean isIncludeInRoot() - 
bitsetProducer
public Function<org.apache.lucene.search.Query,org.apache.lucene.search.join.BitSetProducer> bitsetProducer() - 
getChildren
 - 
newBuilder
- Overrides:
 newBuilderin classObjectMapper- Returns:
 - a Builder that will produce an empty ObjectMapper with the same configuration as this one
 
 - 
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
 toXContentin interfaceToXContent- Overrides:
 toXContentin classObjectMapper- Throws:
 IOException
 - 
merge
Description copied from class:MapperReturn the merge ofmergeWithinto this. BoththisandmergeWithwill be left unmodified.- Overrides:
 mergein classObjectMapper
 - 
createChildContext
- Overrides:
 createChildContextin classObjectMapper
 
 -