public class GeoPointFieldMapper extends BaseGeoPointFieldMapper
- "field" : "geo_hash" - "field" : "lat,lon" - "field" : { "lat" : 1.1, "lon" : 2.1 }
| Modifier and Type | Class and Description |
|---|---|
static class |
GeoPointFieldMapper.Builder
Concrete builder for indexed GeoPointField type
|
static class |
GeoPointFieldMapper.Defaults |
static class |
GeoPointFieldMapper.TypeParser |
BaseGeoPointFieldMapper.GeoPointFieldType, BaseGeoPointFieldMapper.LegacyGeoPointFieldType, BaseGeoPointFieldMapper.NamesFieldMapper.CopyTo, FieldMapper.MultiFieldsMapper.BuilderContextToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONTENT_TYPE |
deprecationLogger, geoHashMapper, ignoreMalformed, latMapper, lonMapperCOERCE_SETTING, copyTo, defaultFieldType, fieldType, IGNORE_MALFORMED_SETTING, multiFieldsEMPTY_PARAMS| Constructor and Description |
|---|
GeoPointFieldMapper(java.lang.String simpleName,
MappedFieldType fieldType,
MappedFieldType defaultFieldType,
Settings indexSettings,
FieldMapper latMapper,
FieldMapper lonMapper,
FieldMapper geoHashMapper,
FieldMapper.MultiFields multiFields,
Explicit<java.lang.Boolean> ignoreMalformed,
FieldMapper.CopyTo copyTo) |
| Modifier and Type | Method and Description |
|---|---|
BaseGeoPointFieldMapper.LegacyGeoPointFieldType |
fieldType() |
protected void |
parse(ParseContext context,
GeoPoint point,
java.lang.String geoHash) |
contentType, doMerge, doXContentBody, iterator, legacyDoXContentBody, legacyFieldType, legacyIterator, parse, parseCreateField, updateFieldTypeclone, copyTo, customBoost, doXContentAnalyzers, doXContentDocValues, indexOptionToString, indexTokenizeOption, merge, name, termVectorOptionsToString, toXContentsimpleNameequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisFragmentpublic static final java.lang.String CONTENT_TYPE
public GeoPointFieldMapper(java.lang.String simpleName,
MappedFieldType fieldType,
MappedFieldType defaultFieldType,
Settings indexSettings,
FieldMapper latMapper,
FieldMapper lonMapper,
FieldMapper geoHashMapper,
FieldMapper.MultiFields multiFields,
Explicit<java.lang.Boolean> ignoreMalformed,
FieldMapper.CopyTo copyTo)
protected void parse(ParseContext context, GeoPoint point, java.lang.String geoHash) throws java.io.IOException
parse in class BaseGeoPointFieldMapperjava.io.IOExceptionpublic BaseGeoPointFieldMapper.LegacyGeoPointFieldType fieldType()
fieldType in class FieldMapper