Currently, Calcite use constant_score API to build all the queries. which do not boost the documents based on relevance score from any matching clause which is supported by disMax API. It does not support dismax query builders - https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-dis-max-query.html.
Dismax query -
Suggested solution - Queries with OR conditions should use disMax builders to fetch the best matching documents.
Sample SQL query -
Sample RelNode -