The Open API specification for Synapse is now available for download!

Download Open API Spec

DisMaxQuery

org.sagebionetworks.repo.model.search.dsl.DisMaxQuery

A dis_max compound clause. A document matches if any sub-clause matches; its score is the best single sub-clause score plus tie_breaker times the rest.

Field Type Description
queries ARRAY<Query> Required. The candidate clauses.
tie_breaker NUMBER Optional. Weight (0–1) applied to the scores of the non-best matching clauses. Default 0.0.
boost NUMBER Optional. Multiplier for the relevance score of this clause. Default 1.0.
_name STRING Optional. Label echoed back in matched-queries metadata.