server/src/main/java/org/elasticsearch/index/mapper/vectors/DenseVectorFieldMapper.java
+ "] of type ["
                    + typeName()
                    + "] doesn't not support indexing multiple values for the same field in the same document"
            );
        }
        if (Token.VALUE_NULL == context.parser().currentToken()) {
            return;
        }
        Field field = fieldType().indexed ? parseKnnVector(context) : parseBinaryDocValuesVector(context);
        context.doc().addWithKey(fieldType().name(), field);
    }
    private Field parseKnnVector(DocumentParserContext context) throws IOException {
        return elementType.parseKnnVector(context, this);
    }
    private Field parseBinaryDocValuesVector(DocumentParserContext context) throws IOException {
        
        
        byte[] bytes = indexCreatedVersion.onOrAfter(Version.V_7_5_0)
            ? new byte[dims * elementType.elementBytes + MAGNITUDE_BYTES]
            : new byte[dims * elementType.elementBytes];
        ByteBuffer byteBuffer = ByteBuffer.wrap(bytes);
        double dotProduct = elementType.parseKnnVectorToByteBuffer(context, this, byteBuffer);
        if (indexCreatedVersion.onOrAfter(Version.V_7_5_0)) {
            
            float vectorMagnitude = (float) Math.sqrt(dotProduct);
            byteBuffer.putFloat(vectorMagnitude);
        }
        return new BinaryDocValuesField(fieldType().name(), new BytesRef(bytes));
    }
    private void checkDimensionExceeded(int index, DocumentParserContext context) {