Package org.elasticsearch.index.mapper
Class LegacyGeoShapeFieldMapper.GeoShapeFieldType
java.lang.Object
org.elasticsearch.index.mapper.MappedFieldType
org.elasticsearch.index.mapper.AbstractGeometryFieldMapper.AbstractGeometryFieldType<T>
org.elasticsearch.index.mapper.AbstractShapeGeometryFieldMapper.AbstractShapeGeometryFieldType<ShapeBuilder<?,?,?>>
org.elasticsearch.index.mapper.LegacyGeoShapeFieldMapper.GeoShapeFieldType
- All Implemented Interfaces:
- GeoShapeQueryable
- Enclosing class:
- LegacyGeoShapeFieldMapper
public static final class LegacyGeoShapeFieldMapper.GeoShapeFieldType
extends AbstractShapeGeometryFieldMapper.AbstractShapeGeometryFieldType<ShapeBuilder<?,?,?>>
implements GeoShapeQueryable
- 
Nested Class SummaryNested classes/interfaces inherited from class org.elasticsearch.index.mapper.MappedFieldTypeMappedFieldType.CollapseType, MappedFieldType.Relation
- 
Field SummaryFields inherited from class org.elasticsearch.index.mapper.AbstractGeometryFieldMapper.AbstractGeometryFieldTypegeometryParser
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionorg.apache.lucene.spatial.prefix.PrefixTreeStrategydoubleorg.apache.lucene.search.QuerygeoShapeQuery(org.elasticsearch.geometry.Geometry shape, String fieldName, ShapeRelation relation, SearchExecutionContext context)org.apache.lucene.search.QuerygeoShapeQuery(org.elasticsearch.geometry.Geometry shape, String fieldName, SpatialStrategy strategy, ShapeRelation relation, SearchExecutionContext context)protected Function<ShapeBuilder<?,?,?>,Object>getFormatter(String format)Gets the formatter by name.booleandoubleorg.apache.lucene.spatial.prefix.PrefixTreeStrategyresolvePrefixTreeStrategy(String strategyName)org.apache.lucene.spatial.prefix.PrefixTreeStrategyresolvePrefixTreeStrategy(SpatialStrategy strategy)voidsetDefaultDistanceErrorPct(double defaultDistanceErrorPct)voidsetDistanceErrorPct(double distanceErrorPct)voidsetPointsOnly(boolean pointsOnly)voidsetPrecisionInMeters(double precisionInMeters)voidsetStrategy(SpatialStrategy strategy)voidvoidsetTreeLevels(int treeLevels)strategy()tree()inttypeName()Returns the name of this type, as would be specified in mapping propertiesMethods inherited from class org.elasticsearch.index.mapper.AbstractShapeGeometryFieldMapper.AbstractShapeGeometryFieldTypeorientationMethods inherited from class org.elasticsearch.index.mapper.AbstractGeometryFieldMapper.AbstractGeometryFieldTypetermQuery, valueFetcherMethods inherited from class org.elasticsearch.index.mapper.MappedFieldTypeboost, collapseType, distanceFeatureQuery, docValueFormat, eagerGlobalOrdinals, existsQuery, extractTerm, failIfNoDocValues, failIfNotIndexed, familyTypeName, fielddataBuilder, fuzzyIntervals, fuzzyQuery, getTerms, getTextSearchInfo, hasDocValues, isAggregatable, isFieldWithinQuery, isSearchable, isStored, meta, multiPhraseQuery, name, normalizedWildcardQuery, phrasePrefixQuery, phraseQuery, pointReaderIfPossible, prefixIntervals, prefixQuery, prefixQuery, rangeQuery, regexpQuery, setBoost, spanPrefixQuery, termIntervals, termQueryCaseInsensitive, termsQuery, valueForDisplay, wildcardIntervals, wildcardQuery, wildcardQuery
- 
Constructor Details- 
GeoShapeFieldType
 
- 
- 
Method Details- 
geoShapeQuerypublic org.apache.lucene.search.Query geoShapeQuery(org.elasticsearch.geometry.Geometry shape, String fieldName, ShapeRelation relation, SearchExecutionContext context)- Specified by:
- geoShapeQueryin interface- GeoShapeQueryable
 
- 
geoShapeQuerypublic org.apache.lucene.search.Query geoShapeQuery(org.elasticsearch.geometry.Geometry shape, String fieldName, SpatialStrategy strategy, ShapeRelation relation, SearchExecutionContext context)- Specified by:
- geoShapeQueryin interface- GeoShapeQueryable
 
- 
typeNameDescription copied from class:MappedFieldTypeReturns the name of this type, as would be specified in mapping properties- Specified by:
- typeNamein class- MappedFieldType
 
- 
tree
- 
setTree
- 
strategy
- 
setStrategy
- 
pointsOnlypublic boolean pointsOnly()
- 
setPointsOnlypublic void setPointsOnly(boolean pointsOnly)
- 
treeLevelspublic int treeLevels()
- 
setTreeLevelspublic void setTreeLevels(int treeLevels)
- 
precisionInMeterspublic double precisionInMeters()
- 
setPrecisionInMeterspublic void setPrecisionInMeters(double precisionInMeters)
- 
distanceErrorPctpublic double distanceErrorPct()
- 
setDistanceErrorPctpublic void setDistanceErrorPct(double distanceErrorPct)
- 
setDefaultDistanceErrorPctpublic void setDefaultDistanceErrorPct(double defaultDistanceErrorPct)
- 
defaultPrefixTreeStrategypublic org.apache.lucene.spatial.prefix.PrefixTreeStrategy defaultPrefixTreeStrategy()
- 
resolvePrefixTreeStrategypublic org.apache.lucene.spatial.prefix.PrefixTreeStrategy resolvePrefixTreeStrategy(SpatialStrategy strategy)
- 
resolvePrefixTreeStrategypublic org.apache.lucene.spatial.prefix.PrefixTreeStrategy resolvePrefixTreeStrategy(String strategyName)
- 
getFormatterDescription copied from class:AbstractGeometryFieldMapper.AbstractGeometryFieldTypeGets the formatter by name.- Specified by:
- getFormatterin class- AbstractGeometryFieldMapper.AbstractGeometryFieldType<ShapeBuilder<?,?,?>>
 
 
-