lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gsing...@apache.org
Subject svn commit: r1042802 - /lucene/dev/trunk/solr/src/java/org/apache/solr/schema/LatLonType.java
Date Mon, 06 Dec 2010 21:38:59 GMT
Author: gsingers
Date: Mon Dec  6 21:38:59 2010
New Revision: 1042802

URL: http://svn.apache.org/viewvc?rev=1042802&view=rev
Log:
fix typo

Modified:
    lucene/dev/trunk/solr/src/java/org/apache/solr/schema/LatLonType.java

Modified: lucene/dev/trunk/solr/src/java/org/apache/solr/schema/LatLonType.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/src/java/org/apache/solr/schema/LatLonType.java?rev=1042802&r1=1042801&r2=1042802&view=diff
==============================================================================
--- lucene/dev/trunk/solr/src/java/org/apache/solr/schema/LatLonType.java (original)
+++ lucene/dev/trunk/solr/src/java/org/apache/solr/schema/LatLonType.java Mon Dec  6 21:38:59
2010
@@ -279,7 +279,7 @@ public class LatLonType extends Abstract
 
   @Override
   public SortField getSortField(SchemaField field, boolean top) {
-    throw new SolrException(SolrException.ErrorCode.BAD_REQUEST, "Sorting not supported on
SpatialTileField " + field.getName());
+    throw new SolrException(SolrException.ErrorCode.BAD_REQUEST, "Sorting not supported on
LatLonType " + field.getName());
   }
 
 
@@ -288,7 +288,7 @@ public class LatLonType extends Abstract
 
   @Override
   public Field createField(SchemaField field, String externalVal, float boost) {
-    throw new UnsupportedOperationException("SpatialTileField uses multiple fields.  field="
+ field.getName());
+    throw new UnsupportedOperationException("LatLonType uses multiple fields.  field=" +
field.getName());
   }
 
 }



Mime
View raw message