mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-09 06:25:07 +00:00
upgrade to joda 1.6
This commit is contained in:
parent
a768016779
commit
31362e4c60
@ -365,7 +365,11 @@ public class XContentGeoPointFieldMapper implements XContentMapper, XContentArra
|
|||||||
builder.field("lat_lon", enableLatLon);
|
builder.field("lat_lon", enableLatLon);
|
||||||
builder.field("geohash", enableGeohash);
|
builder.field("geohash", enableGeohash);
|
||||||
builder.field("resolution", resolution);
|
builder.field("resolution", resolution);
|
||||||
builder.field("store", latMapper.name().toLowerCase());
|
if (latMapper != null) {
|
||||||
|
builder.field("store", latMapper.store().name().toLowerCase());
|
||||||
|
} else if (geohashMapper != null) {
|
||||||
|
builder.field("store", geohashMapper.store().name().toLowerCase());
|
||||||
|
}
|
||||||
builder.field("geohash_precision", geohashPrecision);
|
builder.field("geohash_precision", geohashPrecision);
|
||||||
if (precisionStep != null) {
|
if (precisionStep != null) {
|
||||||
builder.field("precision_step", precisionStep);
|
builder.field("precision_step", precisionStep);
|
||||||
|
@ -15,7 +15,7 @@ dependencies {
|
|||||||
runtime 'joda-time:joda-time:1.6.1'
|
runtime 'joda-time:joda-time:1.6.1'
|
||||||
runtime 'org.mvel:mvel2:2.0.17'
|
runtime 'org.mvel:mvel2:2.0.17'
|
||||||
|
|
||||||
runtime 'org.codehaus.jackson:jackson-core-asl:1.5.5'
|
runtime 'org.codehaus.jackson:jackson-core-asl:1.6.0'
|
||||||
runtime 'org.yaml:snakeyaml:1.6'
|
runtime 'org.yaml:snakeyaml:1.6'
|
||||||
|
|
||||||
runtime('org.jboss.netty:netty:3.2.2.Final') { transitive = false }
|
runtime('org.jboss.netty:netty:3.2.2.Final') { transitive = false }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user