public class DateFieldMapper extends NumberFieldMapper
Modifier and Type | Class and Description |
---|---|
static class |
DateFieldMapper.Builder |
static class |
DateFieldMapper.DateFieldType |
static class |
DateFieldMapper.Defaults |
static class |
DateFieldMapper.TypeParser |
NumberFieldMapper.CustomLongNumericDocValuesField, NumberFieldMapper.CustomNumericDocValuesField, NumberFieldMapper.CustomNumericField, NumberFieldMapper.NumberFieldType
FieldMapper.CopyTo, FieldMapper.MultiFields
Mapper.BuilderContext
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Modifier and Type | Field and Description |
---|---|
static String |
CONTENT_TYPE |
coerce, ignoreMalformed, includeInAll, useSortedNumericDocValues
copyTo, defaultFieldType, fieldType, indexCreatedBefore2x, multiFields
EMPTY_PARAMS
Modifier | Constructor and Description |
---|---|
protected |
DateFieldMapper(String simpleName,
MappedFieldType fieldType,
MappedFieldType defaultFieldType,
Explicit<Boolean> ignoreMalformed,
Explicit<Boolean> coerce,
Settings indexSettings,
FieldMapper.MultiFields multiFields,
FieldMapper.CopyTo copyTo) |
Modifier and Type | Method and Description |
---|---|
protected 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) |
DateFieldMapper.DateFieldType |
fieldType() |
protected void |
innerParseCreateField(ParseContext context,
List<org.apache.lucene.document.Field> fields) |
addDocValue, clone, doMerge, includeInAll, includeInAllIfNotSet, parseCreateField, parseDoubleValue, parseLongValue, unsetIncludeInAll
copyTo, doXContentAnalyzers, doXContentDocValues, hasCustomFieldDataSettings, indexOptionToString, indexTokenizeOptionToString, isGenerated, iterator, merge, name, parse, termVectorOptionsToString, toXContent, updateFieldType
simpleName
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public static final String CONTENT_TYPE
protected DateFieldMapper(String simpleName, MappedFieldType fieldType, MappedFieldType defaultFieldType, Explicit<Boolean> ignoreMalformed, Explicit<Boolean> coerce, Settings indexSettings, FieldMapper.MultiFields multiFields, FieldMapper.CopyTo copyTo)
public DateFieldMapper.DateFieldType fieldType()
fieldType
in class FieldMapper
protected boolean customBoost()
FieldMapper
customBoost
in class FieldMapper
protected void innerParseCreateField(ParseContext context, List<org.apache.lucene.document.Field> fields) throws IOException
innerParseCreateField
in class NumberFieldMapper
IOException
protected String contentType()
contentType
in class FieldMapper
protected void doXContentBody(XContentBuilder builder, boolean includeDefaults, ToXContent.Params params) throws IOException
doXContentBody
in class NumberFieldMapper
IOException
Copyright © 2009–2016. All rights reserved.