Legacy Docs: This page describes our legacy API. It will be deprecated in
a future version. Please use the v2 API where possible.
Basic Usage
Applies a constant score across all documents matched by the underlying query. It can avoid unnecessary score computation on the wrapped query.The constant score to use for each result.
The query to perform.