Error when adding vector data with Elastic.Clients.Elasticsearch version 9.0.0

The System.Memory shim (even the latest version version 4.6.3) for .NET Framework, does not support specifying custom precision for serialized data.

Given that ES driver tries to pass there a G17 format string, it crashes. This leads to the inability of driver to serialize floating-point numbers, when driver is running under .NET Framework.

Reported as Broken floating-point source serialization for .NET Framework · Issue #8696 · elastic/elasticsearch-net · GitHub