| Modifier and Type | Class and Description |
|---|---|
static class |
ParseContext.InternalParseContext |
| Modifier and Type | Method and Description |
|---|---|
ParseContext |
ParseContext.createCopyToContext()
Return a new context that will be within a copy-to operation.
|
ParseContext |
ParseContext.createExternalValueContext(Object externalValue)
Return a new context that will have the external value set.
|
ParseContext |
ParseContext.createMultiFieldContext()
Return a new context that will be within multi-fields.
|
ParseContext |
ParseContext.createNestedContext(String fullPath)
Return a new context that will be used within a nested document.
|
ParseContext |
ParseContext.overridePath(ContentPath path)
Return a new context that will have the provided path.
|
ParseContext |
ParseContext.switchDoc(ParseContext.Document document)
Return a new context that has the provided document as the current document.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FieldMapper.MultiFields.parse(FieldMapper mainField,
ParseContext context) |
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. |
protected abstract void |
FieldMapper.parseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields)
Parse the field value and populate
fields. |
abstract void |
MetadataFieldMapper.postParse(ParseContext context)
Called after
FieldMapper.parse(ParseContext) on the RootObjectMapper. |
abstract void |
MetadataFieldMapper.preParse(ParseContext context)
Called before
FieldMapper.parse(ParseContext) on the RootObjectMapper. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
NumberFieldMapper.addDocValue(ParseContext context,
List<org.apache.lucene.document.Field> fields,
long value) |
protected void |
IntegerFieldMapper.addIntegerFields(ParseContext context,
List<org.apache.lucene.document.Field> fields,
int value,
float boost) |
protected void |
FloatFieldMapper.innerParseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields) |
protected void |
ByteFieldMapper.innerParseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields) |
protected void |
LongFieldMapper.innerParseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields) |
protected void |
DoubleFieldMapper.innerParseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields) |
protected void |
ShortFieldMapper.innerParseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields) |
protected abstract void |
NumberFieldMapper.innerParseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields) |
protected void |
DateFieldMapper.innerParseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields) |
protected void |
IntegerFieldMapper.innerParseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields) |
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 }
|
protected void |
TokenCountFieldMapper.parseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields) |
protected void |
BooleanFieldMapper.parseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields) |
protected void |
NumberFieldMapper.parseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields) |
protected void |
StringFieldMapper.parseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields) |
protected void |
BinaryFieldMapper.parseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields) |
protected void |
CompletionFieldMapper.parseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields) |
static StringFieldMapper.ValueAndBoost |
StringFieldMapper.parseCreateFieldForString(ParseContext context,
String nullValue,
float defaultBoost)
Parse a field as though it were a string.
|
| Modifier and Type | Method and Description |
|---|---|
Mapper |
BaseGeoPointFieldMapper.parse(ParseContext context) |
Mapper |
GeoShapeFieldMapper.parse(ParseContext context) |
protected void |
GeoPointFieldMapper.parse(ParseContext context,
GeoPoint point,
String geoHash) |
protected void |
BaseGeoPointFieldMapper.parse(ParseContext context,
GeoPoint point,
String geoHash) |
protected void |
GeoPointFieldMapperLegacy.parse(ParseContext context,
GeoPoint point,
String geoHash) |
protected void |
BaseGeoPointFieldMapper.parseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields) |
protected void |
GeoShapeFieldMapper.parseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields) |
| Modifier and Type | Method and Description |
|---|---|
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) |
protected void |
FieldNamesFieldMapper.parseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields) |
protected void |
RoutingFieldMapper.parseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields) |
protected void |
IndexFieldMapper.parseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields) |
protected void |
TypeFieldMapper.parseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields) |
protected void |
AllFieldMapper.parseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields) |
protected void |
TTLFieldMapper.parseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields) |
protected void |
IdFieldMapper.parseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields) |
protected void |
UidFieldMapper.parseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields) |
protected void |
VersionFieldMapper.parseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields) |
protected void |
ParentFieldMapper.parseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields) |
protected void |
TimestampFieldMapper.parseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields) |
protected void |
SourceFieldMapper.parseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields) |
void |
FieldNamesFieldMapper.postParse(ParseContext context) |
void |
RoutingFieldMapper.postParse(ParseContext context) |
void |
IndexFieldMapper.postParse(ParseContext context) |
void |
TypeFieldMapper.postParse(ParseContext context) |
void |
AllFieldMapper.postParse(ParseContext context) |
void |
TTLFieldMapper.postParse(ParseContext context) |
void |
IdFieldMapper.postParse(ParseContext context) |
void |
UidFieldMapper.postParse(ParseContext context) |
void |
VersionFieldMapper.postParse(ParseContext context) |
void |
ParentFieldMapper.postParse(ParseContext context) |
void |
TimestampFieldMapper.postParse(ParseContext context) |
void |
SourceFieldMapper.postParse(ParseContext context) |
void |
FieldNamesFieldMapper.preParse(ParseContext context) |
void |
RoutingFieldMapper.preParse(ParseContext context) |
void |
IndexFieldMapper.preParse(ParseContext context) |
void |
TypeFieldMapper.preParse(ParseContext context) |
void |
AllFieldMapper.preParse(ParseContext context) |
void |
TTLFieldMapper.preParse(ParseContext context) |
void |
IdFieldMapper.preParse(ParseContext context) |
void |
UidFieldMapper.preParse(ParseContext context) |
void |
VersionFieldMapper.preParse(ParseContext context) |
void |
ParentFieldMapper.preParse(ParseContext context) |
void |
TimestampFieldMapper.preParse(ParseContext context) |
void |
SourceFieldMapper.preParse(ParseContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
IpFieldMapper.innerParseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields) |
| Modifier and Type | Method and Description |
|---|---|
Mapper.Builder |
RootObjectMapper.findTemplateBuilder(ParseContext context,
String name,
String dynamicType) |
Mapper.Builder |
RootObjectMapper.findTemplateBuilder(ParseContext context,
String name,
String dynamicType,
String matchType) |
| Modifier and Type | Method and Description |
|---|---|
ContextMapping.ContextConfig |
CategoryContextMapping.parseContext(ParseContext parseContext,
XContentParser parser) |
ContextMapping.ContextConfig |
GeolocationContextMapping.parseContext(ParseContext parseContext,
XContentParser parser) |
abstract ContextMapping.ContextConfig |
ContextMapping.parseContext(ParseContext parseContext,
XContentParser parser)
A
ContextMapping combined with the information provided by a document
form a ContextMapping.ContextConfig which is used to build the underlying FST. |
Copyright © 2009–2017. All rights reserved.