| Modifier and Type | Class and Description |
|---|---|
static class |
Mapper.Builder<T extends Mapper.Builder,Y extends Mapper> |
| Modifier and Type | Class and Description |
|---|---|
class |
FieldMapper |
class |
MetadataFieldMapper
A mapper for a builtin field containing metadata about a document.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Mapper |
ParseContext.dynamicMappingsUpdate()
Get dynamic updates to the root object mapper.
|
Mapper |
ParseContext.InternalParseContext.dynamicMappingsUpdate() |
abstract Mapper |
Mapper.merge(Mapper mergeWith,
boolean updateAllTypes)
Return the merge of
mergeWith into this. |
Mapper |
FieldMapper.parse(ParseContext context)
Parse using the provided
ParseContext and return a mapping
update if dynamic mappings modified the mappings, or null if
mappings were not modified. |
abstract Mapper |
Mapper.updateFieldType(Map<String,MappedFieldType> fullNameToFieldType)
Update the field type of this mapper.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<Mapper> |
FieldMapper.iterator() |
Iterator<Mapper> |
FieldMapper.MultiFields.iterator() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
ParseContext.addDynamicMappingsUpdate(Mapper update)
Add a dynamic update to the root object mapper.
|
void |
ParseContext.InternalParseContext.addDynamicMappingsUpdate(Mapper mapper) |
static void |
MapperUtils.collect(Mapper mapper,
Collection<ObjectMapper> objectMappers,
Collection<FieldMapper> fieldMappers)
Split mapper and its descendants into object and field mappers.
|
protected void |
FieldMapper.doMerge(Mapper mergeWith,
boolean updateAllTypes)
Merge changes coming from
mergeWith in place. |
Mapping |
Mapping.mappingUpdate(Mapper rootObjectMapper)
Generate a mapping update for the given root object mapper.
|
FieldMapper |
FieldMapper.merge(Mapper mergeWith,
boolean updateAllTypes) |
abstract Mapper |
Mapper.merge(Mapper mergeWith,
boolean updateAllTypes)
Return the merge of
mergeWith into this. |
MetadataFieldMapper |
MetadataFieldMapper.merge(Mapper mergeWith,
boolean updateAllTypes) |
| Modifier and Type | Class and Description |
|---|---|
class |
BinaryFieldMapper |
class |
BooleanFieldMapper
A field mapper for boolean fields.
|
class |
ByteFieldMapper |
class |
CompletionFieldMapper |
class |
DateFieldMapper |
class |
DoubleFieldMapper |
class |
FloatFieldMapper |
class |
IntegerFieldMapper |
class |
LongFieldMapper |
class |
NumberFieldMapper |
class |
ShortFieldMapper |
class |
StringFieldMapper |
class |
TokenCountFieldMapper
A
FieldMapper that takes a string and writes a count of the tokens in that string
to the index. |
| Modifier and Type | Method and Description |
|---|---|
Mapper |
NumberFieldMapper.includeInAll(Boolean includeInAll) |
Mapper |
NumberFieldMapper.includeInAllIfNotSet(Boolean includeInAll) |
Mapper |
CompletionFieldMapper.parse(ParseContext context)
Parses and indexes inputs
Parsing:
Acceptable format:
"STRING" - interpreted as field value (input)
"ARRAY" - each element can be one of "OBJECT" (see below)
"OBJECT" - { "input": STRING|ARRAY, "weight": STRING|INT, "contexts": ARRAY|OBJECT }
|
Mapper |
NumberFieldMapper.unsetIncludeInAll() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TokenCountFieldMapper.doMerge(Mapper mergeWith,
boolean updateAllTypes) |
protected void |
NumberFieldMapper.doMerge(Mapper mergeWith,
boolean updateAllTypes) |
protected void |
StringFieldMapper.doMerge(Mapper mergeWith,
boolean updateAllTypes) |
protected void |
CompletionFieldMapper.doMerge(Mapper mergeWith,
boolean updateAllTypes) |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseGeoPointFieldMapper
GeoPointFieldMapper base class to maintain backward compatibility
|
class |
GeoPointFieldMapper
Parsing: We handle:
|
class |
GeoPointFieldMapperLegacy
Parsing: We handle:
|
class |
GeoShapeFieldMapper
FieldMapper for indexing
Shapes. |
| Modifier and Type | Method and Description |
|---|---|
Mapper |
BaseGeoPointFieldMapper.parse(ParseContext context) |
Mapper |
GeoShapeFieldMapper.parse(ParseContext context) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Mapper> |
BaseGeoPointFieldMapper.iterator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
BaseGeoPointFieldMapper.doMerge(Mapper mergeWith,
boolean updateAllTypes) |
protected void |
GeoPointFieldMapperLegacy.doMerge(Mapper mergeWith,
boolean updateAllTypes) |
protected void |
GeoShapeFieldMapper.doMerge(Mapper mergeWith,
boolean updateAllTypes) |
| Modifier and Type | Class and Description |
|---|---|
class |
AllFieldMapper |
class |
FieldNamesFieldMapper
A mapper that indexes the field names of a document under
_field_names. |
class |
IdFieldMapper |
class |
IndexFieldMapper |
class |
ParentFieldMapper |
class |
RoutingFieldMapper |
class |
SourceFieldMapper |
class |
TimestampFieldMapper |
class |
TTLFieldMapper |
class |
TypeFieldMapper |
class |
UidFieldMapper |
class |
VersionFieldMapper
Mapper for the _version field.
|
| Modifier and Type | Method and Description |
|---|---|
Mapper |
AllFieldMapper.IncludeInAll.includeInAll(Boolean includeInAll)
If
includeInAll is not null then return a copy of this mapper
that will include values in the _all field according to includeInAll. |
Mapper |
AllFieldMapper.IncludeInAll.includeInAllIfNotSet(Boolean includeInAll)
If
includeInAll is not null and not set on this mapper yet, then
return a copy of this mapper that will include values in the _all field
according to includeInAll. |
Mapper |
FieldNamesFieldMapper.parse(ParseContext context) |
Mapper |
RoutingFieldMapper.parse(ParseContext context) |
Mapper |
IndexFieldMapper.parse(ParseContext context) |
Mapper |
TypeFieldMapper.parse(ParseContext context) |
Mapper |
AllFieldMapper.parse(ParseContext context) |
Mapper |
TTLFieldMapper.parse(ParseContext context) |
Mapper |
UidFieldMapper.parse(ParseContext context) |
Mapper |
VersionFieldMapper.parse(ParseContext context) |
Mapper |
TimestampFieldMapper.parse(ParseContext context) |
Mapper |
SourceFieldMapper.parse(ParseContext context) |
Mapper |
AllFieldMapper.IncludeInAll.unsetIncludeInAll()
If
includeInAll was already set on this mapper then return a copy
of this mapper that has includeInAll not set. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
RoutingFieldMapper.doMerge(Mapper mergeWith,
boolean updateAllTypes) |
protected void |
IndexFieldMapper.doMerge(Mapper mergeWith,
boolean updateAllTypes) |
protected void |
TypeFieldMapper.doMerge(Mapper mergeWith,
boolean updateAllTypes) |
protected void |
AllFieldMapper.doMerge(Mapper mergeWith,
boolean updateAllTypes) |
protected void |
TTLFieldMapper.doMerge(Mapper mergeWith,
boolean updateAllTypes) |
protected void |
IdFieldMapper.doMerge(Mapper mergeWith,
boolean updateAllTypes) |
protected void |
UidFieldMapper.doMerge(Mapper mergeWith,
boolean updateAllTypes) |
protected void |
VersionFieldMapper.doMerge(Mapper mergeWith,
boolean updateAllTypes) |
protected void |
ParentFieldMapper.doMerge(Mapper mergeWith,
boolean updateAllTypes) |
protected void |
TimestampFieldMapper.doMerge(Mapper mergeWith,
boolean updateAllTypes) |
protected void |
SourceFieldMapper.doMerge(Mapper mergeWith,
boolean updateAllTypes) |
| Modifier and Type | Class and Description |
|---|---|
class |
IpFieldMapper |
| Modifier and Type | Class and Description |
|---|---|
class |
ObjectMapper |
class |
RootObjectMapper |
| Modifier and Type | Method and Description |
|---|---|
Mapper |
ObjectMapper.getMapper(String field) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Mapper> |
ObjectMapper.iterator() |
| Modifier and Type | Method and Description |
|---|---|
RootObjectMapper |
RootObjectMapper.copyAndPutMapper(Mapper mapper)
Return a copy of this mapper that has the given
mapper as a
sub mapper. |
ObjectMapper |
ObjectMapper.mappingUpdate(Mapper mapper)
Build a mapping update with the provided sub mapping update.
|
ObjectMapper |
RootObjectMapper.mappingUpdate(Mapper mapper) |
ObjectMapper |
ObjectMapper.merge(Mapper mergeWith,
boolean updateAllTypes) |
RootObjectMapper |
RootObjectMapper.merge(Mapper mergeWith,
boolean updateAllTypes) |
protected void |
ObjectMapper.putMapper(Mapper mapper) |
| Modifier and Type | Method and Description |
|---|---|
protected ObjectMapper |
ObjectMapper.Builder.createMapper(String name,
String fullPath,
boolean enabled,
ObjectMapper.Nested nested,
ObjectMapper.Dynamic dynamic,
ContentPath.Type pathType,
Map<String,Mapper> mappers,
Settings settings) |
protected ObjectMapper |
RootObjectMapper.Builder.createMapper(String name,
String fullPath,
boolean enabled,
ObjectMapper.Nested nested,
ObjectMapper.Dynamic dynamic,
ContentPath.Type pathType,
Map<String,Mapper> mappers,
Settings settings) |
Copyright © 2009–2017. All rights reserved.