Is there any change in the query-syntax of Elasticsearch?

Hi, everyone.
I had written this query when I was using Elasticsearch (5.6). -->

from: params.fetch(:offset),
size: params.fetch(:size),
_source: {
excludes: ["attachments.*"]
sort: params),
query: {
function_score: {
functions: params),
query: {
bool: {
filter: params),
must: ,
should: [ :id, value: params.fetch(:contact_ids))]

Now, after the log-4j incidence, we are using the 7.4.0 version.

Now, this query is running properly but it is not returning the same hash as it was doing before.
So, my question is, 'Is there any change in the way of writing the Queries' ?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.