Package org.elasticsearch.index.mapper
Class GeoShapeFieldMapper.GeoShapeFieldType
java.lang.Object
org.elasticsearch.index.mapper.MappedFieldType
org.elasticsearch.index.mapper.AbstractGeometryFieldMapper.AbstractGeometryFieldType
org.elasticsearch.index.mapper.AbstractShapeGeometryFieldMapper.AbstractShapeGeometryFieldType
org.elasticsearch.index.mapper.GeoShapeFieldMapper.GeoShapeFieldType
- All Implemented Interfaces:
GeoShapeQueryable
- Enclosing class:
- GeoShapeFieldMapper
public static class GeoShapeFieldMapper.GeoShapeFieldType extends AbstractShapeGeometryFieldMapper.AbstractShapeGeometryFieldType 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, parsesArrayValue -
Constructor Summary
Constructors Constructor Description GeoShapeFieldType(java.lang.String name, boolean indexed, ShapeBuilder.Orientation orientation, AbstractGeometryFieldMapper.Parser<org.elasticsearch.geometry.Geometry> parser, java.util.Map<java.lang.String,java.lang.String> meta) -
Method Summary
Modifier and Type Method Description org.apache.lucene.search.QuerygeoShapeQuery(org.elasticsearch.geometry.Geometry shape, java.lang.String fieldName, ShapeRelation relation, SearchExecutionContext context)java.lang.StringtypeName()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, fuzzyQuery, getTextSearchInfo, hasDocValues, intervals, isAggregatable, isFieldWithinQuery, isSearchable, isStored, meta, multiPhraseQuery, name, normalizedWildcardQuery, phrasePrefixQuery, phraseQuery, pointReaderIfPossible, prefixQuery, prefixQuery, rangeQuery, regexpQuery, setBoost, spanPrefixQuery, termQueryCaseInsensitive, termsQuery, valueForDisplay, 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(java.lang.String name, boolean indexed, ShapeBuilder.Orientation orientation, AbstractGeometryFieldMapper.Parser<org.elasticsearch.geometry.Geometry> parser, java.util.Map<java.lang.String,java.lang.String> meta)
-
-
Method Details
-
typeName
public java.lang.String 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, java.lang.String fieldName, ShapeRelation relation, SearchExecutionContext context)- Specified by:
geoShapeQueryin interfaceGeoShapeQueryable
-