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.
test/framework/src/main/java/org/elasticsearch/index/mapper/MapperServiceTestCase.java
return false;
            }
            @Override
            public Query query() {
                return query;
            }
            @Override
            public long nowInMillis() {
                return 0;
            }
            @Override
            public Analyzer getNamedAnalyzer(String analyzer) {
                return null;
            }
            @Override
            public Analyzer buildCustomAnalyzer(
                IndexSettings indexSettings,
                boolean normalizer,
                NameOrDefinition tokenizer,
                List<NameOrDefinition> charFilters,
                List<NameOrDefinition> tokenFilters
            ) {
                return null;
            }
            @Override
            public boolean isFieldMapped(String field) {
                throw new UnsupportedOperationException();
            }
            @Override
            public SearchLookup lookup() {