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
}
            @Override
            public Query buildQuery(QueryBuilder builder) throws IOException {
                throw new UnsupportedOperationException();
            }
            @Override
            public Query filterQuery(Query query) {
                throw new UnsupportedOperationException();
            }
            @Override
            protected IndexFieldData<?> buildFieldData(MappedFieldType ft) {
                return ft.fielddataBuilder(FieldDataContext.noRuntimeFields("test"))
                    .build(new IndexFieldDataCache.None(), new NoneCircuitBreakerService());
            }
            @Override
            public BigArrays bigArrays() {
                return new MockBigArrays(new MockPageCacheRecycler(Settings.EMPTY), new NoneCircuitBreakerService());
            }
            @Override
            public NestedLookup nestedLookup() {
                throw new UnsupportedOperationException();
            }
            @Override
            public NestedScope nestedScope() {
                throw new UnsupportedOperationException();
            }
            @Override
            public SubSearchContext subSearchContext() {
                throw new UnsupportedOperationException();
            }