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
It seems like the fromJson method on the FuncitonScoreQuery object works differently with the latest client.
In our test setup we are using a function like this to create a query fixture from a supplied json which worked fine before the upgrade of the Java client, from 8.14.1 -> 8.16.1.
This is probably a side effect of this PR that we didn't notice at the time. We wanted to add support for the deserialization of the shortcut version of FunctionScoreQuery, and it seems like we accidentally broke it for this case.
I suggest using the java DSL to perform the call while we work on solving the issue, let me know if you need any help with translating - and sorry for the inconvenience!
Java API client version
8.16.1
Java version
OpenJDK Runtime Environment Temurin-21.0.2+13
Elasticsearch Version
8.14.3
Problem description
Hello,
It seems like the fromJson method on the FuncitonScoreQuery object works differently with the latest client.
In our test setup we are using a function like this to create a query fixture from a supplied json which worked fine before the upgrade of the Java client, from 8.14.1 -> 8.16.1.
The use case that we are having problems with is when we have a nested function score query like this:
And we get the following error:
Is this use case not valid anymore?
The text was updated successfully, but these errors were encountered: