org.elasticsearch.index.mapper.geo
Class GeoShapeFieldMapper.Builder
java.lang.Object
org.elasticsearch.index.mapper.Mapper.Builder<T,Y>
org.elasticsearch.index.mapper.core.AbstractFieldMapper.Builder<GeoShapeFieldMapper.Builder,GeoShapeFieldMapper>
org.elasticsearch.index.mapper.geo.GeoShapeFieldMapper.Builder
- Enclosing class:
- GeoShapeFieldMapper
public static class GeoShapeFieldMapper.Builder
- extends AbstractFieldMapper.Builder<GeoShapeFieldMapper.Builder,GeoShapeFieldMapper>
Methods inherited from class org.elasticsearch.index.mapper.core.AbstractFieldMapper.Builder |
boost, buildFullName, buildIndexName, buildNames, includeInAll, index, indexAnalyzer, indexName, indexOptions, omitNorms, searchAnalyzer, store, termVector |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeoShapeFieldMapper.Builder
public GeoShapeFieldMapper.Builder(String name)
tree
public GeoShapeFieldMapper.Builder tree(String tree)
treeLevels
public GeoShapeFieldMapper.Builder treeLevels(int treeLevels)
distanceErrorPct
public GeoShapeFieldMapper.Builder distanceErrorPct(double distanceErrorPct)
build
public GeoShapeFieldMapper build(Mapper.BuilderContext context)
- Specified by:
build
in class Mapper.Builder<GeoShapeFieldMapper.Builder,GeoShapeFieldMapper>
Copyright © 2009-2012. All Rights Reserved.