mirror of https://github.com/apache/lucene.git
fix typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1042802 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
29ebc9f9b0
commit
7aa9193885
|
@ -279,7 +279,7 @@ public class LatLonType extends AbstractSubTypeFieldType implements SpatialQuery
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public SortField getSortField(SchemaField field, boolean top) {
|
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
|
@Override
|
||||||
public Field createField(SchemaField field, String externalVal, float boost) {
|
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());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue