public static class BaseGeoPointFieldMapper.LegacyGeoPointFieldType extends BaseGeoPointFieldMapper.GeoPointFieldType
MappedFieldType.Relation| Modifier and Type | Field and Description |
|---|---|
protected MappedFieldType |
geoHashFieldType |
protected int |
geoHashPrecision |
protected boolean |
geoHashPrefixEnabled |
protected MappedFieldType |
latFieldType |
protected MappedFieldType |
lonFieldType |
protected boolean |
numericEncoded |
| Modifier and Type | Method and Description |
|---|---|
void |
checkCompatibility(MappedFieldType fieldType,
java.util.List<java.lang.String> conflicts,
boolean strict)
Checks for any conflicts between this field type and other.
|
MappedFieldType |
clone() |
DocValueFormat |
docValueFormat(java.lang.String format,
org.joda.time.DateTimeZone timeZone)
Return a
DocValueFormat that can be used to display and parse
values as returned by the fielddata API. |
boolean |
equals(java.lang.Object o) |
IndexFieldData.Builder |
fielddataBuilder()
Return a fielddata builder for this field
|
MappedFieldType |
geoHashFieldType() |
int |
geoHashPrecision() |
int |
hashCode() |
boolean |
isGeoHashEnabled() |
boolean |
isGeoHashPrefixEnabled() |
boolean |
isLatLonEnabled() |
MappedFieldType |
latFieldType() |
MappedFieldType |
lonFieldType() |
void |
setGeoHashEnabled(MappedFieldType geoHashFieldType,
int geoHashPrecision,
boolean geoHashPrefixEnabled) |
void |
setLatLonEnabled(MappedFieldType latFieldType,
MappedFieldType lonFieldType) |
FieldStats.GeoPoint |
stats(org.apache.lucene.index.IndexReader reader) |
org.apache.lucene.search.Query |
termQuery(java.lang.Object value,
QueryShardContext context)
Generates a query that will only match documents that contain the given value.
|
typeNameboost, eagerGlobalOrdinals, extractTerm, failIfNoDocValues, failIfNotIndexed, fuzzyQuery, hasDocValues, indexAnalyzer, isAggregatable, isFieldWithinQuery, isSearchable, name, nullValue, nullValueAsString, nullValueQuery, prefixQuery, queryStringTermQuery, rangeQuery, regexpQuery, searchAnalyzer, searchQuoteAnalyzer, setBoost, setEagerGlobalOrdinals, setHasDocValues, setIndexAnalyzer, setName, setNullValue, setSearchAnalyzer, setSearchQuoteAnalyzer, setSimilarity, similarity, termsQuery, valueForDisplaycheckIfFrozen, docValuesType, freeze, indexOptions, numericPrecisionStep, numericType, omitNorms, pointDimensionCount, pointNumBytes, setDimensions, setDocValuesType, setIndexOptions, setNumericPrecisionStep, setNumericType, setOmitNorms, setStored, setStoreTermVectorOffsets, setStoreTermVectorPayloads, setStoreTermVectorPositions, setStoreTermVectors, setTokenized, stored, storeTermVectorOffsets, storeTermVectorPayloads, storeTermVectorPositions, storeTermVectors, tokenized, toStringprotected MappedFieldType geoHashFieldType
protected int geoHashPrecision
protected boolean geoHashPrefixEnabled
protected MappedFieldType latFieldType
protected MappedFieldType lonFieldType
protected boolean numericEncoded
public MappedFieldType clone()
clone in class MappedFieldTypepublic boolean equals(java.lang.Object o)
equals in class MappedFieldTypepublic int hashCode()
hashCode in class MappedFieldTypepublic void checkCompatibility(MappedFieldType fieldType, java.util.List<java.lang.String> conflicts, boolean strict)
MappedFieldTypecheckCompatibility in class MappedFieldTypepublic boolean isGeoHashEnabled()
public MappedFieldType geoHashFieldType()
public int geoHashPrecision()
public boolean isGeoHashPrefixEnabled()
public void setGeoHashEnabled(MappedFieldType geoHashFieldType, int geoHashPrecision, boolean geoHashPrefixEnabled)
public boolean isLatLonEnabled()
public MappedFieldType latFieldType()
public MappedFieldType lonFieldType()
public void setLatLonEnabled(MappedFieldType latFieldType, MappedFieldType lonFieldType)
public IndexFieldData.Builder fielddataBuilder()
MappedFieldTypefielddataBuilder in class MappedFieldTypepublic DocValueFormat docValueFormat(@Nullable java.lang.String format, org.joda.time.DateTimeZone timeZone)
MappedFieldTypeDocValueFormat that can be used to display and parse
values as returned by the fielddata API.
The default implementation returns a DocValueFormat.RAW.docValueFormat in class MappedFieldTypepublic org.apache.lucene.search.Query termQuery(java.lang.Object value,
QueryShardContext context)
MappedFieldTypeTermQuery over the value bytes,
boosted by MappedFieldType.boost().termQuery in class MappedFieldTypepublic FieldStats.GeoPoint stats(org.apache.lucene.index.IndexReader reader) throws java.io.IOException
stats in class BaseGeoPointFieldMapper.GeoPointFieldTypeFieldStats instance that maps to the type of this
field or null if the provided index has no stats about the
current fieldjava.io.IOException