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
ConstructorsConstructorDescriptionGeoShapeFieldType(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.QuerygeoShapeQuery(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
orientationMethods inherited from class org.elasticsearch.index.mapper.AbstractGeometryFieldMapper.AbstractGeometryFieldType
termQuery, valueFetcherMethods 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, wildcardQueryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:MappedFieldTypeReturns the name of this type, as would be specified in mapping properties- Specified by:
typeNamein classMappedFieldType
-
geoShapeQuery
public org.apache.lucene.search.Query geoShapeQuery(org.elasticsearch.geometry.Geometry shape, String fieldName, ShapeRelation relation, SearchExecutionContext context)- Specified by:
geoShapeQueryin interfaceGeoShapeQueryable
-
getFormatter
Description copied from class:AbstractGeometryFieldMapper.AbstractGeometryFieldTypeGets the formatter by name.- Specified by:
getFormatterin classAbstractGeometryFieldMapper.AbstractGeometryFieldType<org.elasticsearch.geometry.Geometry>
-