@Override
        public boolean equals(Object object) {
            if (!(object instanceof RankSetting other)) {
                return false;
            }
            return fieldName.equals(other.fieldName) && type.equals(other.type);
        }
Returns the value as an int, or a negative value if it is not an integer
config-model/src/main/java/com/yahoo/schema/RankProfile.java