You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrading the driver from 8.13.4 to 8.14.1 I've come up with the following issue
Pushing to an ES server v8.4.3 introduce brackets in the "path_match" field in "dynamic_templates".
ex : from "titles.*" to "[titles.*]"
This is an actual breaking change as the template does not match anymore with the targeted fields names
Hello! The issue here is the server version 8.4.3, which doesn't allow multiple values for the dynamic templates pattern matching, a feature added around version 8.9 of the server. The clients are forward compatible only, meaning that we cannot guarantee compatibility with older versions of the server; in this particular case the problem lies with how the client simplifies parameters that can accept both a single string or arrays to just arrays. Updating the server to a more recent version should solve this.
Java API client version
8.14.1
Java version
openjdk 11.0.21 2023-10-17 LTS
Elasticsearch Version
8.4.3
Problem description
Upgrading the driver from 8.13.4 to 8.14.1 I've come up with the following issue
Pushing to an ES server v8.4.3 introduce brackets in the "path_match" field in "dynamic_templates".
ex : from
"titles.*"
to"[titles.*]"
This is an actual breaking change as the template does not match anymore with the targeted fields names
Here is a minimal example to reproduce:
This is not reproducible with the server version 8.13.4, I've not tested with other versions.
The text was updated successfully, but these errors were encountered: