Module org.elasticsearch.server
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<Geometry>
org.elasticsearch.index.mapper.GeoShapeFieldMapper.GeoShapeFieldType
- All Implemented Interfaces:
GeoShapeQueryable
- Enclosing class:
- GeoShapeFieldMapper
public static class GeoShapeFieldMapper.GeoShapeFieldType
extends AbstractShapeGeometryFieldMapper.AbstractShapeGeometryFieldType<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<Geometry> parser, Map<String, String> meta) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.search.QuerygeoShapeQuery(SearchExecutionContext context, String fieldName, ShapeRelation relation, org.apache.lucene.geo.LatLonGeometry... geometries) 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
checkNoFormat, checkNoTimeZone, collapseType, distanceFeatureQuery, docValueFormat, eagerGlobalOrdinals, existsQuery, extractTerm, failIfNoDocValues, failIfNotIndexed, failIfNotIndexedNorDocValuesFallback, familyTypeName, fielddataBuilder, fuzzyIntervals, fuzzyQuery, getMetricType, getTerms, getTextSearchInfo, hasDocValues, isAggregatable, isDimension, isFieldWithinQuery, isIndexed, isSearchable, isStored, mayExistInIndex, meta, multiPhraseQuery, name, normalizedWildcardQuery, phrasePrefixQuery, phraseQuery, pointReaderIfPossible, prefixIntervals, prefixQuery, prefixQuery, rangeQuery, regexpQuery, spanPrefixQuery, termIntervals, termQueryCaseInsensitive, termsQuery, validateMatchedRoutingPath, 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, geoShapeQuery
-
Constructor Details
-
GeoShapeFieldType
public GeoShapeFieldType(String name, boolean indexed, Orientation orientation, AbstractGeometryFieldMapper.Parser<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(SearchExecutionContext context, String fieldName, ShapeRelation relation, org.apache.lucene.geo.LatLonGeometry... geometries) - Specified by:
geoShapeQueryin interfaceGeoShapeQueryable
-
getFormatter
Description copied from class:AbstractGeometryFieldMapper.AbstractGeometryFieldTypeGets the formatter by name.- Specified by:
getFormatterin classAbstractGeometryFieldMapper.AbstractGeometryFieldType<Geometry>
-