git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1042802 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Grant Ingersoll 2010-12-06 21:38:59 +00:00
parent 29ebc9f9b0
commit 7aa9193885
1 changed files with 2 additions and 2 deletions

View File

@ -279,7 +279,7 @@ public class LatLonType extends AbstractSubTypeFieldType implements SpatialQuery
@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 AbstractSubTypeFieldType implements SpatialQuery
@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());
}
}