WeaviateEx.Error.VersionError exception (WeaviateEx v0.7.4)
View SourceRaised when connecting to an unsupported Weaviate server version.
WeaviateEx requires Weaviate server version 1.27.0 or higher. This error provides detailed information about the version mismatch and how to resolve it.
Example
# Connecting to an old Weaviate server will raise:
raise WeaviateEx.Error.VersionError,
server_version: "1.20.0",
min_version: "1.27.0"Bypassing Version Checks
If you need to connect to an older server (not recommended), you can bypass version checks:
{:ok, client} = WeaviateEx.Client.connect(
base_url: "http://localhost:8080",
skip_init_checks: true
)