public static final class GeoShapeFieldMapper.GeoShapeFieldType extends MappedFieldType
MappedFieldType.Relation| Modifier | Constructor and Description |
|---|---|
|
GeoShapeFieldType() |
protected |
GeoShapeFieldType(GeoShapeFieldMapper.GeoShapeFieldType ref) |
| 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.
|
GeoShapeFieldMapper.GeoShapeFieldType |
clone() |
org.apache.lucene.spatial.prefix.PrefixTreeStrategy |
defaultStrategy() |
double |
distanceErrorPct() |
boolean |
equals(java.lang.Object o) |
void |
freeze() |
int |
hashCode() |
ShapeBuilder.Orientation |
orientation() |
boolean |
pointsOnly() |
double |
precisionInMeters() |
org.apache.lucene.spatial.prefix.PrefixTreeStrategy |
resolveStrategy(SpatialStrategy strategy) |
org.apache.lucene.spatial.prefix.PrefixTreeStrategy |
resolveStrategy(java.lang.String strategyName) |
void |
setDefaultDistanceErrorPct(double defaultDistanceErrorPct) |
void |
setDistanceErrorPct(double distanceErrorPct) |
void |
setOrientation(ShapeBuilder.Orientation orientation) |
void |
setPointsOnly(boolean pointsOnly) |
void |
setPrecisionInMeters(double precisionInMeters) |
void |
setStrategyName(java.lang.String strategyName) |
void |
setTree(java.lang.String tree) |
void |
setTreeLevels(int treeLevels) |
FieldStats |
stats(org.apache.lucene.index.IndexReader reader) |
java.lang.String |
strategyName() |
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 |
tree() |
int |
treeLevels() |
java.lang.String |
typeName()
Returns the name of this type, as would be specified in mapping properties
|
boost, docValueFormat, eagerGlobalOrdinals, extractTerm, failIfNoDocValues, failIfNotIndexed, fielddataBuilder, 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, indexOptions, numericPrecisionStep, numericType, omitNorms, pointDimensionCount, pointNumBytes, setDimensions, setDocValuesType, setIndexOptions, setNumericPrecisionStep, setNumericType, setOmitNorms, setStored, setStoreTermVectorOffsets, setStoreTermVectorPayloads, setStoreTermVectorPositions, setStoreTermVectors, setTokenized, stored, storeTermVectorOffsets, storeTermVectorPayloads, storeTermVectorPositions, storeTermVectors, tokenized, toStringpublic GeoShapeFieldType()
protected GeoShapeFieldType(GeoShapeFieldMapper.GeoShapeFieldType ref)
public GeoShapeFieldMapper.GeoShapeFieldType clone()
clone in class MappedFieldTypepublic boolean equals(java.lang.Object o)
equals in class MappedFieldTypepublic int hashCode()
hashCode in class MappedFieldTypepublic java.lang.String typeName()
MappedFieldTypetypeName in class MappedFieldTypepublic void freeze()
freeze in class org.apache.lucene.document.FieldTypepublic void checkCompatibility(MappedFieldType fieldType, java.util.List<java.lang.String> conflicts, boolean strict)
MappedFieldTypecheckCompatibility in class MappedFieldTypepublic java.lang.String tree()
public void setTree(java.lang.String tree)
public java.lang.String strategyName()
public void setStrategyName(java.lang.String strategyName)
public boolean pointsOnly()
public void setPointsOnly(boolean pointsOnly)
public int treeLevels()
public void setTreeLevels(int treeLevels)
public double precisionInMeters()
public void setPrecisionInMeters(double precisionInMeters)
public double distanceErrorPct()
public void setDistanceErrorPct(double distanceErrorPct)
public void setDefaultDistanceErrorPct(double defaultDistanceErrorPct)
public ShapeBuilder.Orientation orientation()
public void setOrientation(ShapeBuilder.Orientation orientation)
public org.apache.lucene.spatial.prefix.PrefixTreeStrategy defaultStrategy()
public org.apache.lucene.spatial.prefix.PrefixTreeStrategy resolveStrategy(SpatialStrategy strategy)
public org.apache.lucene.spatial.prefix.PrefixTreeStrategy resolveStrategy(java.lang.String strategyName)
public 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 stats(org.apache.lucene.index.IndexReader reader) throws java.io.IOException
stats in class MappedFieldTypeFieldStats instance that maps to the type of this
field or null if the provided index has no stats about the
current fieldjava.io.IOException