From 6ed89ad4065fdd860726de4ab37ab0d2b5f8d5fd Mon Sep 17 00:00:00 2001 From: kimchy Date: Mon, 2 Aug 2010 16:35:08 +0300 Subject: [PATCH] fix comment --- .../facets/geodistance/GeoDistanceFacetCollectorParser.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/elasticsearch/src/main/java/org/elasticsearch/search/facets/geodistance/GeoDistanceFacetCollectorParser.java b/modules/elasticsearch/src/main/java/org/elasticsearch/search/facets/geodistance/GeoDistanceFacetCollectorParser.java index 6887b199290..cc606d93fb2 100644 --- a/modules/elasticsearch/src/main/java/org/elasticsearch/search/facets/geodistance/GeoDistanceFacetCollectorParser.java +++ b/modules/elasticsearch/src/main/java/org/elasticsearch/search/facets/geodistance/GeoDistanceFacetCollectorParser.java @@ -73,8 +73,8 @@ public class GeoDistanceFacetCollectorParser implements FacetCollectorParser { } else if (token == XContentParser.Token.START_ARRAY) { if ("ranges".equals(currentName) || "entries".equals(currentName)) { // "ranges" : [ - // { "from" : "0', to : "12.5" } - // { "from" : "12.5" } + // { "from" : 0, "to" : 12.5 } + // { "from" : 12.5 } // ] while ((token = parser.nextToken()) != XContentParser.Token.END_ARRAY) { double from = Double.NEGATIVE_INFINITY;