org.elasticsearch.index.mapper.geo
Class GeoShapeFieldMapper.Builder

java.lang.Object
  extended by org.elasticsearch.index.mapper.Mapper.Builder<T,Y>
      extended by org.elasticsearch.index.mapper.core.AbstractFieldMapper.Builder<GeoShapeFieldMapper.Builder,GeoShapeFieldMapper>
          extended by org.elasticsearch.index.mapper.geo.GeoShapeFieldMapper.Builder
Enclosing class:
GeoShapeFieldMapper

public static class GeoShapeFieldMapper.Builder
extends AbstractFieldMapper.Builder<GeoShapeFieldMapper.Builder,GeoShapeFieldMapper>


Field Summary
 
Fields inherited from class org.elasticsearch.index.mapper.core.AbstractFieldMapper.Builder
boost, includeInAll, index, indexAnalyzer, indexName, indexOptions, omitNorms, searchAnalyzer, store, termVector
 
Fields inherited from class org.elasticsearch.index.mapper.Mapper.Builder
builder, name
 
Constructor Summary
GeoShapeFieldMapper.Builder(String name)
           
 
Method Summary
 GeoShapeFieldMapper build(Mapper.BuilderContext context)
           
 GeoShapeFieldMapper.Builder distanceErrorPct(double distanceErrorPct)
           
 GeoShapeFieldMapper.Builder tree(String tree)
           
 GeoShapeFieldMapper.Builder treeLevels(int treeLevels)
           
 
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 org.elasticsearch.index.mapper.Mapper.Builder
name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoShapeFieldMapper.Builder

public GeoShapeFieldMapper.Builder(String name)
Method Detail

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.