public class LegacyLongFieldMapper extends LegacyNumberFieldMapper
Modifier and Type | Class and Description |
---|---|
static class |
LegacyLongFieldMapper.Builder |
static class |
LegacyLongFieldMapper.CustomLongNumericField |
static class |
LegacyLongFieldMapper.Defaults |
static class |
LegacyLongFieldMapper.LongFieldType |
static class |
LegacyLongFieldMapper.TypeParser |
LegacyNumberFieldMapper.CustomNumericField, LegacyNumberFieldMapper.NumberFieldType
FieldMapper.CopyTo, FieldMapper.MultiFields
Mapper.BuilderContext
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONTENT_TYPE |
coerce, ignoreMalformed, includeInAll
copyTo, defaultFieldType, fieldType, IGNORE_MALFORMED_SETTING, indexCreatedVersion, multiFields
EMPTY_PARAMS
Modifier | Constructor and Description |
---|---|
protected |
LegacyLongFieldMapper(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 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) |
LegacyLongFieldMapper.LongFieldType |
fieldType() |
protected void |
innerParseCreateField(ParseContext context,
java.util.List<org.apache.lucene.index.IndexableField> fields) |
addDocValue, clone, doMerge, parseCreateField, parseDoubleValue, parseLongValue
copyTo, doXContentAnalyzers, doXContentDocValues, indexOptionToString, indexTokenizeOption, iterator, merge, name, parse, termVectorOptionsToString, toXContent, updateFieldType
simpleName
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isFragment
public static final java.lang.String CONTENT_TYPE
protected LegacyLongFieldMapper(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 LegacyLongFieldMapper.LongFieldType fieldType()
fieldType
in class FieldMapper
protected boolean customBoost()
FieldMapper
customBoost
in class FieldMapper
protected void innerParseCreateField(ParseContext context, java.util.List<org.apache.lucene.index.IndexableField> fields) throws java.io.IOException
innerParseCreateField
in class LegacyNumberFieldMapper
java.io.IOException
protected java.lang.String contentType()
contentType
in class FieldMapper
protected void doXContentBody(XContentBuilder builder, boolean includeDefaults, ToXContent.Params params) throws java.io.IOException
doXContentBody
in class LegacyNumberFieldMapper
java.io.IOException