case INTEGER:
return SortField.Type.INT;
case UNKNOWN:
break; // Fail below
}
<BUG>break;
case BASIC:
return SortField.Type.STRING;</BUG>
}
throw new SearchException( "Cannot automatically determine the field type for field '" + currentName

case INTEGER:
return SortField.Type.INT;
case UNKNOWN:
break; // Fail below
}
}
else {
return SortField.Type.STRING;
}
throw new SearchException( "Cannot automatically determine the field type for field '" + currentName
