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, valueForSearchcheckIfFrozen, docValuesType, indexOptions, numericPrecisionStep, numericType, omitNorms, setDocValuesType, setIndexOptions, setNumericPrecisionStep, setNumericType, setOmitNorms, setStored, setStoreTermVectorOffsets, setStoreTermVectorPayloads, setStoreTermVectorPositions, setStoreTermVectors, setTokenized, stored, storeTermVectorOffsets, storeTermVectorPayloads, storeTermVectorPositions, storeTermVectors, tokenized, toStringpublic GeoShapeFieldMapper.GeoShapeFieldType()
protected GeoShapeFieldMapper.GeoShapeFieldType(GeoShapeFieldMapper.GeoShapeFieldType ref)
public GeoShapeFieldMapper.GeoShapeFieldType clone()
clone in class MappedFieldTypepublic boolean equals(Object o)
equals in class MappedFieldTypepublic int hashCode()
hashCode in class MappedFieldTypepublic String typeName()
MappedFieldTypetypeName in class MappedFieldTypepublic void freeze()
freeze in class org.apache.lucene.document.FieldTypepublic void checkCompatibility(MappedFieldType fieldType, List<String> conflicts, boolean strict)
MappedFieldTypecheckCompatibility in class MappedFieldTypepublic 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)
MappedFieldTypevalue in class MappedFieldTypeCopyright © 2009–2017. All rights reserved.