public static final class GeoShapeFieldMapper.GeoShapeFieldType extends MappedFieldType
MappedFieldType.Loading, MappedFieldType.Names
Modifier | Constructor and Description |
---|---|
|
GeoShapeFieldMapper.GeoShapeFieldType() |
protected |
GeoShapeFieldMapper.GeoShapeFieldType(GeoShapeFieldMapper.GeoShapeFieldType ref) |
Modifier and Type | Method and Description |
---|---|
void |
checkCompatibility(MappedFieldType fieldType,
List<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(Object o) |
void |
freeze() |
int |
hashCode() |
ShapeBuilder.Orientation |
orientation() |
boolean |
pointsOnly() |
double |
precisionInMeters() |
org.apache.lucene.spatial.prefix.PrefixTreeStrategy |
resolveStrategy(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(String strategyName) |
void |
setTree(String tree) |
void |
setTreeLevels(int treeLevels) |
String |
strategyName() |
String |
tree() |
int |
treeLevels() |
String |
typeName()
Returns the name of this type, as would be specified in mapping properties
|
String |
value(Object value)
Returns the actual value of the field.
|
boost, createTerm, fieldDataType, fuzzyQuery, hasDocValues, indexAnalyzer, indexedValueForSearch, isNumeric, isSortable, names, normsLoading, nullValue, nullValueAsString, nullValueQuery, prefixQuery, queryStringTermQuery, rangeQuery, regexpQuery, searchAnalyzer, searchQuoteAnalyzer, setBoost, setFieldDataType, setHasDocValues, setIndexAnalyzer, setNames, setNormsLoading, setNullValue, setSearchAnalyzer, setSearchQuoteAnalyzer, setSimilarity, similarity, stats, termQuery, termsQuery, useTermQueryWithQueryString, valueForSearch
checkIfFrozen, docValuesType, indexOptions, numericPrecisionStep, numericType, omitNorms, setDocValuesType, setIndexOptions, setNumericPrecisionStep, setNumericType, setOmitNorms, setStored, setStoreTermVectorOffsets, setStoreTermVectorPayloads, setStoreTermVectorPositions, setStoreTermVectors, setTokenized, stored, storeTermVectorOffsets, storeTermVectorPayloads, storeTermVectorPositions, storeTermVectors, tokenized, toString
public GeoShapeFieldMapper.GeoShapeFieldType()
protected GeoShapeFieldMapper.GeoShapeFieldType(GeoShapeFieldMapper.GeoShapeFieldType ref)
public GeoShapeFieldMapper.GeoShapeFieldType clone()
clone
in class MappedFieldType
public boolean equals(Object o)
equals
in class MappedFieldType
public int hashCode()
hashCode
in class MappedFieldType
public String typeName()
MappedFieldType
typeName
in class MappedFieldType
public void freeze()
freeze
in class org.apache.lucene.document.FieldType
public void checkCompatibility(MappedFieldType fieldType, List<String> conflicts, boolean strict)
MappedFieldType
checkCompatibility
in class MappedFieldType
public String tree()
public void setTree(String tree)
public String strategyName()
public void setStrategyName(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(String strategyName)
public String value(Object value)
MappedFieldType
value
in class MappedFieldType
Copyright © 2009–2016. All rights reserved.