Lucene 9.8 updates the vector dimension limit overridability. Moving it to the codec. 

We should switch our override to do this correctly now, instead of returning a `FieldType` overriding the value.

For now, this commit would belong in the `lucene_snapshot` branch.
server/src/main/java/org/elasticsearch/index/codec/PerFieldMapperCodec.java
return docValuesFormat;
    }
    boolean useTSDBDocValuesFormat(final String field) {
        return mapperService.getIndexSettings().isES87TSDBCodecEnabled()
            && isTimeSeriesModeIndex()
            && isNotSpecialField(field)
            && (isCounterOrGaugeMetricType(field) || isTimestampField(field));
    }
    private boolean isTimeSeriesModeIndex() {
        return IndexMode.TIME_SERIES.equals(mapperService.getIndexSettings().getMode());
    }
    private boolean isCounterOrGaugeMetricType(String field) {
        if (mapperService != null) {
            final MappingLookup mappingLookup = mapperService.mappingLookup();
            if (mappingLookup.getMapper(field) instanceof NumberFieldMapper) {
                final MappedFieldType fieldType = mappingLookup.getFieldType(field);
                return TimeSeriesParams.MetricType.COUNTER.equals(fieldType.getMetricType())
                    || TimeSeriesParams.MetricType.GAUGE.equals(fieldType.getMetricType());
            }
        }
        return false;
    }
    private boolean isTimestampField(String field) {
        return "@timestamp".equals(field);
    }
    private boolean isNotSpecialField(String field) {
        return field.startsWith("_") == false;
    }
}