Github user mrkarthik commented on a diff in the pull request:
https://github.com/apache/lucene-solr/pull/323#discussion_r173832025
--- Diff:
solr/core/src/java/org/apache/solr/schema/LatLonPointSpatialField.java ---
@@ -75,8 +77,16 @@ protected SpatialStrategy newSpatialStrategy(String
fieldName) {
return new LatLonPointSpatialStrategy(ctx, fieldName,
schemaField.indexed(), schemaField.hasDocValues());
}
- public String geoValueToStringValue(long value) {
- return new String(decodeLatitudeCeil(value) + "," +
decodeLongitudeCeil(value));
+ /**
+ * Converts to "lat, lon"
+ * @param value Non-null; stored location field data
+ * @return Non-null; "lat, lon" with 6 decimal point precision
--- End diff --
6 was just based on what i read, For 40.299599,-74.082728 it is
40°17'58.52",74°4'57.79". I will remove it
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]