public static final GeoPointFieldDataType TYPE = new GeoPointFieldDataType();
@Override public ExtendedFieldComparatorSource newFieldComparatorSource(final FieldDataCache cache, final String missing) {
return new ExtendedFieldComparatorSource() {
@Override public FieldComparator newComparator(String fieldname, int numHits, int sortPos, boolean reversed) throws IOException {
return new StringOrdValFieldDataComparator(numHits, fieldname, sortPos, reversed, cache);
}
@Override public int reducedType() {
return SortField.STRING;
}