java.lang.Cloneable
, java.lang.Iterable<Mapper>
, ToXContent
, ToXContentFragment
public class RangeFieldMapper extends FieldMapper
FieldMapper
for indexing numeric and date ranges, and creating queriesModifier and Type | Class | Description |
---|---|---|
static class |
RangeFieldMapper.Builder |
|
static class |
RangeFieldMapper.Defaults |
|
static class |
RangeFieldMapper.Range |
Class defining a range
|
static class |
RangeFieldMapper.RangeFieldType |
|
static class |
RangeFieldMapper.RangeType |
Enum defining the type of range
|
static class |
RangeFieldMapper.TypeParser |
FieldMapper.CopyTo, FieldMapper.MultiFields
Mapper.BuilderContext
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Modifier and Type | Field | Description |
---|---|---|
static boolean |
DEFAULT_INCLUDE_LOWER |
|
static boolean |
DEFAULT_INCLUDE_UPPER |
copyTo, defaultFieldType, fieldType, IGNORE_MALFORMED_SETTING, indexCreatedVersion, multiFields
EMPTY_PARAMS
Modifier and Type | Method | Description |
---|---|---|
protected RangeFieldMapper |
clone() |
|
protected java.lang.String |
contentType() |
|
protected void |
doMerge(Mapper mergeWith,
boolean updateAllTypes) |
Merge changes coming from
mergeWith in place. |
protected void |
doXContentBody(XContentBuilder builder,
boolean includeDefaults,
ToXContent.Params params) |
|
RangeFieldMapper.RangeFieldType |
fieldType() |
|
protected void |
parseCreateField(ParseContext context,
java.util.List<org.apache.lucene.index.IndexableField> fields) |
Parse the field value and populate
fields . |
copyTo, createFieldNamesField, 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 boolean DEFAULT_INCLUDE_UPPER
public static final boolean DEFAULT_INCLUDE_LOWER
public RangeFieldMapper.RangeFieldType fieldType()
fieldType
in class FieldMapper
protected java.lang.String contentType()
contentType
in class FieldMapper
protected RangeFieldMapper clone()
clone
in class FieldMapper
protected void parseCreateField(ParseContext context, java.util.List<org.apache.lucene.index.IndexableField> fields) throws java.io.IOException
FieldMapper
fields
.parseCreateField
in class FieldMapper
java.io.IOException
protected void doMerge(Mapper mergeWith, boolean updateAllTypes)
FieldMapper
mergeWith
in place.doMerge
in class FieldMapper
updateAllTypes
- TODOprotected void doXContentBody(XContentBuilder builder, boolean includeDefaults, ToXContent.Params params) throws java.io.IOException
doXContentBody
in class FieldMapper
java.io.IOException