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) |
org.apache.lucene.search.Query |
existsQuery(QueryShardContext context) |
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) |
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, valueForDisplay
checkIfFrozen, docValuesType, indexOptions, omitNorms, pointDimensionCount, pointNumBytes, setDimensions, setDocValuesType, setIndexOptions, setOmitNorms, setStored, setStoreTermVectorOffsets, setStoreTermVectorPayloads, setStoreTermVectorPositions, setStoreTermVectors, setTokenized, stored, storeTermVectorOffsets, storeTermVectorPayloads, storeTermVectorPositions, storeTermVectors, tokenized, toString
public GeoShapeFieldType()
protected GeoShapeFieldType(GeoShapeFieldMapper.GeoShapeFieldType ref)
public GeoShapeFieldMapper.GeoShapeFieldType clone()
clone
in class MappedFieldType
public boolean equals(java.lang.Object o)
equals
in class MappedFieldType
public int hashCode()
hashCode
in class MappedFieldType
public java.lang.String typeName()
MappedFieldType
typeName
in class MappedFieldType
public void freeze()
freeze
in class org.apache.lucene.document.FieldType
public void checkCompatibility(MappedFieldType fieldType, java.util.List<java.lang.String> conflicts, boolean strict)
MappedFieldType
checkCompatibility
in class MappedFieldType
public 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 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