You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by gs...@apache.org on 2010/01/04 16:27:27 UTC
svn commit: r895662 -
/lucene/solr/trunk/src/java/org/apache/solr/schema/GeoHashField.java
Author: gsingers
Date: Mon Jan 4 15:27:27 2010
New Revision: 895662
URL: http://svn.apache.org/viewvc?rev=895662&view=rev
Log:
javadoc
Modified:
lucene/solr/trunk/src/java/org/apache/solr/schema/GeoHashField.java
Modified: lucene/solr/trunk/src/java/org/apache/solr/schema/GeoHashField.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/schema/GeoHashField.java?rev=895662&r1=895661&r2=895662&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/schema/GeoHashField.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/schema/GeoHashField.java Mon Jan 4 15:27:27 2010
@@ -20,7 +20,6 @@
import org.apache.lucene.document.Fieldable;
import org.apache.lucene.search.SortField;
import org.apache.lucene.spatial.geohash.GeoHashUtils;
-import org.apache.solr.common.SolrException;
import org.apache.solr.request.TextResponseWriter;
import org.apache.solr.request.XMLWriter;
import org.apache.solr.search.QParser;
@@ -32,8 +31,9 @@
/**
* This is a class that represents a <a
* href="http://en.wikipedia.org/wiki/Geohash">Geohash</a> field. The field is
- * provided as a lat lon pair and is internally represented as a string
+ * provided as a lat/lon pair and is internally represented as a string.
*
+ * @see org.apache.solr.search.function.distance.DistanceUtils#parseLatitudeLongitude(double[], String)
*/
public class GeoHashField extends FieldType {
@@ -77,6 +77,5 @@
return new StrFieldSource(field.name);
}
-
}