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

Download Open API Spec

ConstantScoreQuery

org.sagebionetworks.repo.model.search.dsl.ConstantScoreQuery

A constant_score compound clause. Wraps a filter and assigns every matching document the same score (boost).

Field Type Description
filter Query
boost NUMBER Optional. The constant score assigned to every matching document. Default 1.0.
_name STRING Optional. Label echoed back in matched-queries metadata.