org.elasticsearch.index.mapper.xcontent.geo
Class GeoPointFieldMapper.Builder
java.lang.Object
org.elasticsearch.index.mapper.xcontent.XContentMapper.Builder<GeoPointFieldMapper.Builder,GeoPointFieldMapper>
org.elasticsearch.index.mapper.xcontent.geo.GeoPointFieldMapper.Builder
- Enclosing class:
- GeoPointFieldMapper
public static class GeoPointFieldMapper.Builder
- extends XContentMapper.Builder<GeoPointFieldMapper.Builder,GeoPointFieldMapper>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeoPointFieldMapper.Builder
public GeoPointFieldMapper.Builder(java.lang.String name)
pathType
public GeoPointFieldMapper.Builder pathType(ContentPath.Type pathType)
enableGeoHash
public GeoPointFieldMapper.Builder enableGeoHash(boolean enableGeoHash)
enableLatLon
public GeoPointFieldMapper.Builder enableLatLon(boolean enableLatLon)
precisionStep
public GeoPointFieldMapper.Builder precisionStep(int precisionStep)
precision
public GeoPointFieldMapper.Builder precision(int precision)
store
public GeoPointFieldMapper.Builder store(org.apache.lucene.document.Field.Store store)
build
public GeoPointFieldMapper build(XContentMapper.BuilderContext context)
- Specified by:
build
in class XContentMapper.Builder<GeoPointFieldMapper.Builder,GeoPointFieldMapper>