### Description

Dynamic mappings can greatly help the getting started experience but they currently don't apply to all types, one example is `dense_vector`.

It's been suggested to automatically map float arrays as dense vectors when there are more than 100 values, or a heuristic along these lines.
server/src/main/java/org/elasticsearch/index/mapper/vectors/DenseVectorFieldMapper.java
);
        }
    }
    private static FieldType getDenseVectorFieldType(
        int dimension,
        VectorEncoding vectorEncoding,
        VectorSimilarityFunction similarityFunction
    ) {
        if (dimension == 0) {
            throw new IllegalArgumentException("cannot index an empty vector");
        }
        if (dimension > DenseVectorFieldMapper.MAX_DIMS_COUNT) {
            throw new IllegalArgumentException("cannot index vectors with dimension greater than " + DenseVectorFieldMapper.MAX_DIMS_COUNT);
        }
        if (similarityFunction == null) {
            throw new IllegalArgumentException("similarity function must not be null");
        }
        FieldType fieldType = new FieldType() {
            @Override
            public int vectorDimension() {
                return dimension;
            }
            @Override
            public VectorEncoding vectorEncoding() {
                return vectorEncoding;
            }
            @Override
            public VectorSimilarityFunction vectorSimilarityFunction() {
                return similarityFunction;
            }