public class LegacyIntegerFieldMapper extends LegacyNumberFieldMapper
| Modifier and Type | Class and Description |
|---|---|
static class |
LegacyIntegerFieldMapper.Builder |
static class |
LegacyIntegerFieldMapper.CustomIntegerNumericField |
static class |
LegacyIntegerFieldMapper.Defaults |
static class |
LegacyIntegerFieldMapper.IntegerFieldType |
static class |
LegacyIntegerFieldMapper.TypeParser |
LegacyNumberFieldMapper.CustomNumericField, LegacyNumberFieldMapper.NumberFieldTypeFieldMapper.CopyTo, FieldMapper.MultiFieldsMapper.BuilderContextToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONTENT_TYPE |
coerce, ignoreMalformed, includeInAllcopyTo, defaultFieldType, fieldType, IGNORE_MALFORMED_SETTING, multiFieldsEMPTY_PARAMS| Modifier | Constructor and Description |
|---|---|
protected |
LegacyIntegerFieldMapper(java.lang.String simpleName,
MappedFieldType fieldType,
MappedFieldType defaultFieldType,
Explicit<java.lang.Boolean> ignoreMalformed,
Explicit<java.lang.Boolean> coerce,
java.lang.Boolean includeInAll,
Settings indexSettings,
FieldMapper.MultiFields multiFields,
FieldMapper.CopyTo copyTo) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addIntegerFields(ParseContext context,
java.util.List<org.apache.lucene.index.IndexableField> fields,
int value,
float boost) |
protected java.lang.String |
contentType() |
protected boolean |
customBoost()
Derived classes can override it to specify that boost value is set by derived classes.
|
protected void |
doXContentBody(XContentBuilder builder,
boolean includeDefaults,
ToXContent.Params params) |
LegacyIntegerFieldMapper.IntegerFieldType |
fieldType() |
protected void |
innerParseCreateField(ParseContext context,
java.util.List<org.apache.lucene.index.IndexableField> fields) |
addDocValue, clone, doMerge, parseCreateField, parseDoubleValue, parseLongValuecopyTo, doXContentAnalyzers, doXContentDocValues, indexOptionToString, indexTokenizeOption, iterator, merge, name, parse, termVectorOptionsToString, toXContent, updateFieldTypesimpleNameequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisFragmentpublic static final java.lang.String CONTENT_TYPE
protected LegacyIntegerFieldMapper(java.lang.String simpleName,
MappedFieldType fieldType,
MappedFieldType defaultFieldType,
Explicit<java.lang.Boolean> ignoreMalformed,
Explicit<java.lang.Boolean> coerce,
java.lang.Boolean includeInAll,
Settings indexSettings,
FieldMapper.MultiFields multiFields,
FieldMapper.CopyTo copyTo)
public LegacyIntegerFieldMapper.IntegerFieldType fieldType()
fieldType in class FieldMapperprotected boolean customBoost()
FieldMappercustomBoost in class FieldMapperprotected void innerParseCreateField(ParseContext context, java.util.List<org.apache.lucene.index.IndexableField> fields) throws java.io.IOException
innerParseCreateField in class LegacyNumberFieldMapperjava.io.IOExceptionprotected void addIntegerFields(ParseContext context, java.util.List<org.apache.lucene.index.IndexableField> fields, int value, float boost)
protected java.lang.String contentType()
contentType in class FieldMapperprotected void doXContentBody(XContentBuilder builder, boolean includeDefaults, ToXContent.Params params) throws java.io.IOException
doXContentBody in class LegacyNumberFieldMapperjava.io.IOException