public class GeoPointMapper extends Mapper<GeoPointMapper>
Mapper to map geographical points.| Constructor and Description |
|---|
GeoPointMapper(String latitude,
String longitude)
Builds a new
GeoPointMapper. |
| Modifier and Type | Method and Description |
|---|---|
GeoPointMapper |
indexed(Boolean indexed)
Sets if the field supports searching.
|
GeoPointMapper |
maxLevels(Integer maxLevels)
Sets the maximum number of levels in the tree.
|
GeoPointMapper |
sorted(Boolean sorted)
Sets if the field supports sorting.
|
validatedall, bigDecimalMapper, bigIntegerMapper, bitemporal, bitemporalMapper, blobMapper, bool, booleanMapper, build, classpathAnalyzer, contains, dateMapper, dateRange, dateRangeMapper, doubleMapper, field, floatMapper, fuzzy, geoBBox, geoDistance, geoDistanceSortField, geoPointMapper, index, index, inetMapper, integerMapper, longMapper, lucene, match, none, phrase, prefix, range, regexp, schema, search, snowballAnalyzer, stringMapper, textMapper, toString, uuidMapper, wildcardpublic GeoPointMapper maxLevels(Integer maxLevels)
maxLevels - The maximum number of levels in the tree.public final GeoPointMapper indexed(Boolean indexed)
indexed - if the field supports searching.public final GeoPointMapper sorted(Boolean sorted)
sorted - if the field supports sorting.Copyright © 2016. All rights reserved.