Package org.elasticsearch.index.mapper
Class GeoShapeFieldMapper.GeoShapeFieldType
java.lang.Object
org.elasticsearch.index.mapper.MappedFieldType
org.elasticsearch.index.mapper.AbstractGeometryFieldMapper.AbstractGeometryFieldType<T>
org.elasticsearch.index.mapper.AbstractShapeGeometryFieldMapper.AbstractShapeGeometryFieldType<org.elasticsearch.geometry.Geometry>
org.elasticsearch.index.mapper.GeoShapeFieldMapper.GeoShapeFieldType
- All Implemented Interfaces:
GeoShapeQueryable
- Enclosing class:
- GeoShapeFieldMapper
public static class GeoShapeFieldMapper.GeoShapeFieldType
extends AbstractShapeGeometryFieldMapper.AbstractShapeGeometryFieldType<org.elasticsearch.geometry.Geometry>
implements GeoShapeQueryable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.index.mapper.MappedFieldType
MappedFieldType.CollapseType, MappedFieldType.Relation
-
Field Summary
Fields inherited from class org.elasticsearch.index.mapper.AbstractGeometryFieldMapper.AbstractGeometryFieldType
geometryParser
-
Constructor Summary
ConstructorDescriptionGeoShapeFieldType(String name, boolean indexed, Orientation orientation, AbstractGeometryFieldMapper.Parser<org.elasticsearch.geometry.Geometry> parser, Map<String,String> meta)
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.search.Query
geoShapeQuery(org.elasticsearch.geometry.Geometry shape, String fieldName, ShapeRelation relation, SearchExecutionContext context)
getFormatter(String format)
Gets the formatter by name.typeName()
Returns the name of this type, as would be specified in mapping propertiesMethods inherited from class org.elasticsearch.index.mapper.AbstractShapeGeometryFieldMapper.AbstractShapeGeometryFieldType
orientation
Methods inherited from class org.elasticsearch.index.mapper.AbstractGeometryFieldMapper.AbstractGeometryFieldType
termQuery, valueFetcher
Methods inherited from class org.elasticsearch.index.mapper.MappedFieldType
boost, 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.index.mapper.GeoShapeQueryable
geoShapeQuery
-
Constructor Details
-
GeoShapeFieldType
public GeoShapeFieldType(String name, boolean indexed, Orientation orientation, AbstractGeometryFieldMapper.Parser<org.elasticsearch.geometry.Geometry> parser, Map<String,String> meta)
-
-
Method Details
-
typeName
Description copied from class:MappedFieldType
Returns the name of this type, as would be specified in mapping properties- Specified by:
typeName
in classMappedFieldType
-
geoShapeQuery
public org.apache.lucene.search.Query geoShapeQuery(org.elasticsearch.geometry.Geometry shape, String fieldName, ShapeRelation relation, SearchExecutionContext context)- Specified by:
geoShapeQuery
in interfaceGeoShapeQueryable
-
getFormatter
Description copied from class:AbstractGeometryFieldMapper.AbstractGeometryFieldType
Gets the formatter by name.- Specified by:
getFormatter
in classAbstractGeometryFieldMapper.AbstractGeometryFieldType<org.elasticsearch.geometry.Geometry>
-