Package org.elasticsearch.index.mapper
Class GeoPointFieldMapper.GeoPointFieldType
java.lang.Object
org.elasticsearch.index.mapper.MappedFieldType
org.elasticsearch.index.mapper.AbstractGeometryFieldMapper.AbstractGeometryFieldType
org.elasticsearch.index.mapper.GeoPointFieldMapper.GeoPointFieldType
- All Implemented Interfaces:
GeoShapeQueryable
- Enclosing class:
- GeoPointFieldMapper
public static class GeoPointFieldMapper.GeoPointFieldType extends AbstractGeometryFieldMapper.AbstractGeometryFieldType 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 GeoPointFieldType(java.lang.String name) -
Method Summary
Modifier and Type Method Description org.apache.lucene.search.QuerydistanceFeatureQuery(java.lang.Object origin, java.lang.String pivot, SearchExecutionContext context)IndexFieldData.BuilderfielddataBuilder(java.lang.String fullyQualifiedIndexName, java.util.function.Supplier<SearchLookup> searchLookup)Return a fielddata builder for this fieldorg.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.AbstractGeometryFieldMapper.AbstractGeometryFieldType
termQuery, valueFetcherMethods inherited from class org.elasticsearch.index.mapper.MappedFieldType
boost, collapseType, docValueFormat, eagerGlobalOrdinals, existsQuery, extractTerm, failIfNoDocValues, failIfNotIndexed, familyTypeName, fuzzyQuery, getTextSearchInfo, hasDocValues, intervals, isAggregatable, isFieldWithinQuery, isSearchable, isStored, meta, multiPhraseQuery, name, phrasePrefixQuery, phraseQuery, pointReaderIfPossible, prefixQuery, prefixQuery, rangeQuery, regexpQuery, setBoost, setEagerGlobalOrdinals, 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
-
GeoPointFieldType
public GeoPointFieldType(java.lang.String name)
-
-
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
-
fielddataBuilder
public IndexFieldData.Builder fielddataBuilder(java.lang.String fullyQualifiedIndexName, java.util.function.Supplier<SearchLookup> searchLookup)Description copied from class:MappedFieldTypeReturn a fielddata builder for this field- Overrides:
fielddataBuilderin classMappedFieldType- Parameters:
fullyQualifiedIndexName- the name of the index this field-data is build forsearchLookup- aSearchLookupsupplier to allow for accessing other fields values in the context of runtime fields
-
distanceFeatureQuery
public org.apache.lucene.search.Query distanceFeatureQuery(java.lang.Object origin, java.lang.String pivot, SearchExecutionContext context)- Overrides:
distanceFeatureQueryin classMappedFieldType
-