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.NamesFieldMapper.CopyTo, FieldMapper.MultiFieldsMapper.BuilderContextToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| Modifier and Type | Field and Description |
|---|---|
static String |
CONTENT_TYPE |
deprecationLogger, geoHashMapper, ignoreMalformed, latMapper, lonMapper, pathTypecopyTo, defaultFieldType, fieldType, indexCreatedBefore2x, multiFieldsEMPTY_PARAMS| Constructor and Description |
|---|
GeoPointFieldMapper(String simpleName,
MappedFieldType fieldType,
MappedFieldType defaultFieldType,
Settings indexSettings,
ContentPath.Type pathType,
DoubleFieldMapper latMapper,
DoubleFieldMapper lonMapper,
StringFieldMapper geoHashMapper,
FieldMapper.MultiFields multiFields,
Explicit<Boolean> ignoreMalformed,
FieldMapper.CopyTo copyTo) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
parse(ParseContext context,
GeoPoint point,
String geoHash) |
contentType, doMerge, doXContentBody, fieldType, iterator, parse, parseCreateField, updateFieldTypeclone, copyTo, customBoost, doXContentAnalyzers, doXContentDocValues, hasCustomFieldDataSettings, indexOptionToString, indexTokenizeOptionToString, isGenerated, merge, name, termVectorOptionsToString, toXContentsimpleNamepublic static final String CONTENT_TYPE
public GeoPointFieldMapper(String simpleName, MappedFieldType fieldType, MappedFieldType defaultFieldType, Settings indexSettings, ContentPath.Type pathType, DoubleFieldMapper latMapper, DoubleFieldMapper lonMapper, StringFieldMapper geoHashMapper, FieldMapper.MultiFields multiFields, Explicit<Boolean> ignoreMalformed, FieldMapper.CopyTo copyTo)
protected void parse(ParseContext context, GeoPoint point, String geoHash) throws IOException
parse in class BaseGeoPointFieldMapperIOExceptionCopyright © 2009–2017. All rights reserved.