org.apache.lucene.index.IndexableFieldType
public static class GeoPointFieldMapper.GeoPointFieldType extends MappedFieldType
MappedFieldType.Relation
Constructor | Description |
---|---|
GeoPointFieldType() |
Modifier and Type | Method | Description |
---|---|---|
MappedFieldType |
clone() |
|
org.apache.lucene.search.Query |
existsQuery(QueryShardContext context) |
|
IndexFieldData.Builder |
fielddataBuilder(java.lang.String fullyQualifiedIndexName) |
Return a fielddata builder for this field
|
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.
|
java.lang.String |
typeName() |
Returns the name of this type, as would be specified in mapping properties
|
checkIfFrozen, docValuesType, freeze, indexOptions, omitNorms, pointDimensionCount, pointNumBytes, setDimensions, setDocValuesType, setIndexOptions, setOmitNorms, setStored, setStoreTermVectorOffsets, setStoreTermVectorPayloads, setStoreTermVectorPositions, setStoreTermVectors, setTokenized, stored, storeTermVectorOffsets, storeTermVectorPayloads, storeTermVectorPositions, storeTermVectors, tokenized, toString
boost, checkCompatibility, docValueFormat, eagerGlobalOrdinals, equals, extractTerm, failIfNoDocValues, failIfNotIndexed, fuzzyQuery, hasDocValues, hashCode, 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, valueForDisplay
public java.lang.String typeName()
MappedFieldType
typeName
in class MappedFieldType
public MappedFieldType clone()
clone
in class MappedFieldType
public IndexFieldData.Builder fielddataBuilder(java.lang.String fullyQualifiedIndexName)
MappedFieldType
fielddataBuilder
in class MappedFieldType
fullyQualifiedIndexName
- the name of the index this field-data is build forpublic org.apache.lucene.search.Query existsQuery(QueryShardContext context)
existsQuery
in class MappedFieldType
public org.apache.lucene.search.Query termQuery(java.lang.Object value, QueryShardContext context)
MappedFieldType
TermQuery
over the value bytes,
boosted by MappedFieldType.boost()
.termQuery
in class MappedFieldType